API
API detailed overview
Last updated
API detailed overview
Last updated
For contract interaction:
Tokens
URL:
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)
Actions
URL:
Retrieve a list of actions, these will include swaps, increasing a position, decreasing a position 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: , you can also use a library like
Volume
Hourly:
Daily:
Weekly:
Total:
Volumes are separated by action, token, day / week
Params:
after (optional): for pagination, the id to start after
Circulating supply:
Total supply: