Swap API Reference
This page provides an overview of the three Fanbase.io Swap APIs.
Fanbase.io supports three types of decentralized exchange protocols - a powerful cryptocurrency exchange protocol (ERC20-ERC20) called Fanbase Aggregate Swap API which aggregates and compares diverse swap contracts to find you the best decentralized price; a cryptocurrency exchange protocol (ERC20-ERC20) called Fanbase Pure Swap API which only searches and compares Fanbase Swap liquidity pools; and an NFT exchange (ERC1155-ERC20) called Fanbase NFT Swap API which allows for the swapping, buying and selling of NFTs from your own website, app, extension or dApp.
Aggregate Swap API
The Fanbase Aggregate Swap API connects to the Fanbase Swap protocol (Fanbase Factory & Fanbase Router) as well as Uniswap (v2, v3), Sushiswap, Pancakeswap and 1inch API (which aggregates about 90 other contracts), in order to provide powerful exchange functionalities and fetch you the best price possible on the decentralized web.
Aggregate Swap APIPure Swap API
The Fanbase Pure Swap API connects to the Fanbase Swap protocol (Fanbase Factory & Fanbase Router) in order to provide decentralized exchange functionalities for any tokens which have provided liquidity on Fanbase Swap liquidity pools.
Pure Swap APINFT Swap API
The Fanbase NFT Swap API connects you to the Fanbase NFT Swap protocol and provides advanced exchange functionalities between ERC20 fungible tokens (cryptocurrency) and ERC1155 non-fungible tokens (multiple standard).
NFT Swap APILast updated