🔺
API
API overview of FTDEX Finance
For contract interaction:
- URL: TBA
- Retrieve a list of tokens and info for each token
- USD amounts are multiplied by (10 ** 30)
- Token amounts are multiplied by (10 ** token.decimals)
- URL: TBA
- Retrieve a list of actions, these will include swaps, increasing a position, decreasing a position, orders and liquidations
- Params:
- account (optional): pass in the checksum address of an account
- after (optional): for pagination, the id to start after
- To get the checksum address: https://web3-tools.netlify.app/, you can also use a library like ethers
- Hourly: TBA
- Daily: TBA
- Weekly: TBA
- Total: TBA
- Volumes are separated by action, token, day / week
- Params: TBA
- after (optional): for pagination, the id to start after
Last modified 10mo ago