Copy and paste the snippet of code below into the
head section of your HTML.
You will need a
div with an ID that matches the
nodeId in the snippet:
You can do this by copy and pasting the snippet of code below into the
body section of your HTML where you would like the Widget to appear.
This is an image of what the Totle Widget will look like in your website.
To try out a live Totle Widget, follow this link: widget.totle.com
Can I earn fees with the Totle Widget?
Yes. By passing a fee contract into the
partnerContractAddress parameter, you can earn fees on your Totle Widget swaps. To set up a fee contract, visit the Totle Console to deploy your own partner contract or message us at email@example.com and we can set up a flexible custom contract for you.
Can I view my Totle Widget's transaction activity somewhere?
If you have a fee contract set up, yes. You can check on your fee contract's activity in the Totle Console.
Can I pre-select which tokens will be trade-able in my Totle Widget?
Yes. By configuring the
soureAssetAddress and the
destinationAssetAddress to your desired tokens, you can pre-select which tokens will be trade-able in your widget.
If you need help or have some feedback for us, send us a message in the Totle Telegram.