Skip to content

API ​

Developer API reference for integrating with mimo V1.

Web API ​

Add Liquidity URL ​

Add liquidity to a certain LP pool:

https://mimo.exchange/add/{token address}/0x06959153b974314bf1b4e10b67a1cfe407fa698c/500?protocol=v2

Parameters:

  • First token address: The XRC20 token address you want to pair with IOTX
  • Second token address: 0x06959153b974314bf1b4e10b67a1cfe407fa698c (wIOTX address)
  • Fee tier: 500 (0.05% fee for V2)
  • protocol=v2: Use V2 protocol

Swap URL ​

Swap a certain token:

https://mimo.exchange/swap?inputCurrency=IOTX&outputCurrency={token address}

Parameters:

  • inputCurrency: The token you're selling (e.g., IOTX or token address)
  • outputCurrency: The token address you want to buy

Smart Contract API ​

Developers can integrate with mimo.exchange by calling smart contract APIs directly.

IoTeX JS SDK (Antenna) ​

The official IoTeX JavaScript SDK:

https://github.com/iotexproject/iotex-antenna

dApp Sample ​

Quick start sample code for building dApps:

https://github.com/iotexproject/iotex-dapp-sample

API Documentation Status ​

Note

Full API documentation for mimo.exchange smart contracts will be released soon.

In the meantime, since mimo V1 is based on Uniswap V1, you can refer to Uniswap V1 documentation for contract interfaces and methods.

Released under the MIT License.