ThirdFi.org
Search
K

Swap API

Multi-chain token swapping on DEX
Interact with Decentralised Exchanges (DEX) with integrated crypto/web3 wallet provider and allow users to access swap feature in multi-chain.
We allow developers to customize some parameters for DEX swap, such as slippage fees and confirmation redirects URLs with a ThirdFi user account.
Currently, API returns the hosted webview page from ThirdFi and redirects the user to proceed with the blockchain transaction. After completing the transaction, the user will receive the confirmation notification through different approaches (Slack, Telegram, Discord, or Email) from ThirdFi.

Supported blockchain networks:

  • Ethereum
  • BNB Chain
  • Avalanche
  • Polygon
  • Arbitrum
  • Optimism
  • OKExchain
  • KuCoin Community Chain
  • Cronos
  • Conflux Network (eSpace)
  • Nautilus Testnet (Triton)

Supported wallet providers:

  • Metamask
  • WalletConnect
  • KuCoin Wallet
  • OKX Wallet
  • Fluent Wallet

Supported Decentralised Exchange (DEX):

How to use Swap API?

  1. 1.
    You need to register an account from the ThirdFi app.
  2. 2.
    Log in to a registered account, and generate the API key.
  3. 3.
    Create customers through the Customer API.
  4. 4.
    Use the customer email address to create the transaction session via Session API, and redirect the user to the webview.
  5. 5.
    Users can do the transaction by connecting web3 wallet and confirming the transaction.
  6. 6.
    ThirdFi sends the webhook event to the developer's backend server after configuring the webhook setting.
Visit here to try Swap API for free!