ThirdFi.org
  • Introduction to ThirdFi
  • FAQ
  • Product
    • Overview
    • Swap API
    • Invest API
      • Market Weighted Index - MWI
      • Low-risk Crypto Index - LCI
    • Earn API
    • Pay API
    • Borrow & Lend API
    • Price Oracle
      • Price Oracle API
      • Price Oracle WebSocket
      • Price Oracle Use Case
    • Developer Dashboard
    • Developer Sandbox
    • Webhook
    • Testnet Faucet
  • Use Case
    • DeFi Alert
    • Price Alert Chrome Extension
  • Grants
    • Request For Builders
      • Season 1
  • Let's connect
    • Blog
    • Twitter
    • Discord
    • Facebook
    • Linkedin
    • Youtube
    • Link3
Powered by GitBook
On this page
  • Supported blockchain networks:
  • Supported wallet providers:
  • Supported Decentralised Exchange (DEX):
  • How to use Swap API?

Was this helpful?

  1. Product

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. You need to register an account from the ThirdFi app.

  2. Log in to a registered account, and generate the API key.

  3. Create customers through the Customer API.

  4. Use the customer email address to create the transaction session via Session API, and redirect the user to the webview.

  5. Users can do the transaction by connecting web3 wallet and confirming the transaction.

  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!

PreviousOverviewNextInvest API

Last updated 2 years ago

Was this helpful?

Uniswap
SushiSwap
PancakeSwap
QuickSwap
TraderJoe
Velodrome
OKCSwap
KuSwap
VVS
Swappi
PoseiSwap
LogoCreate Swap SessionThirdFi