Swap Widget SDK
On this page you can check the endpoints for the Fanbase NFT Swap Widget which facilitates ERC20-ERC1155 swaps.
As the important part that makes up Fanbase developer community, DEX Widget SDK support useful components let user build own Defi application within short time without hard effort and expansive experience with Dapp development.
Pure Swap Widget
The Fanbase Pure Swap Widget is a React component that can be easily imported into any React project. It is designed to work with no required parameters or web3 integration necessary. The widget provides swap UI and wallet connectivity using Rainbowkit, out-of-the-box. The widget supports ERC20-ERC20 swaps on all networks where the Fanbase Pure Swap API is deployed. To trade your own token on your own website, you must first add liquidity on Fanbase Swap liquidity pools.
Pure Swap WidgetAggregate Swap Widget
The Fanbase Aggregate Swap Widget is extended version of Pure Swap widget that can fetch and support several DEX platforms and best prices to user as a trade option. Main features are same as Pure Swap Widget and has difference at Quote fetching function. After tokens selected user can fetch all DEX platforms that support the pair he selected and choose the best one.
Aggregate Swap WidgetNFT Swap Widget
The Fanbase NFT Swap Widget is a React component that can be easily imported into any React project. It is designed to work with no required parameters or web3 integration necessary. The widget provides swap UI, streaming features, carousel display features, and wallet connectivity using Rainbowkit, out-of-the-box. The widget supports ERC20-ERC1155 swaps on all networks where the Fanbase Pure Swap API is deployed. Use this widget to trade or sell NFTs on your own website- great for music, media and ticket sales.
Aggregate NFT Swap WidgetLast updated