ThirdFi.org
  • Introduction to ThirdFi
  • Product
    • ThirdFi Developer
      • 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
      • Testnet Faucet
      • Webhook
      • Use Case
        • DeFi Alert
        • Price Alert Chrome Extension
      • FAQ
    • ThirdFi v2
      • Vision & Mission
      • Overview
        • How does it works?
        • Economic Model
      • Technical Overview
        • Network Architecture
        • Node Operations
        • Data Management and Security
        • Consensus and Security
        • Differentiators
        • Use Cases and Applications
      • Token Model
        • Proof of Trading (PoT)
        • T-Node
        • $THI
        • $oTHI
        • Conversion of $oTHI to $THI
    • Data to Earn Program
      • Introduction of Data-to-Earn
      • How to participate as a Data Provider?
      • Ways to collect Data Points
      • Reward Hash (Explanation)
      • Reward Hash (Technical)
      • How to verify your Reward Hash?
    • Roadmap
  • Disclaimer
  • Grants
    • Request For Builders
      • Season 1
  • Let's connect
    • Blog
    • Twitter
    • Discord
    • Linkedin
    • Youtube
    • Link3
Powered by GitBook
On this page
  • Supported blockchain networks:
  • Supported wallet providers:
  • Supported Decentralised Exchange (DEX):
  • How to use Swap API?
  1. Product
  2. ThirdFi Developer

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 1 year ago

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