Kperp.Exchange
  • KPerp.Exchange
  • Trading
  • Tokenomics
  • KLP
  • Contracts
  • Rewards
  • Referral Program
  • Team
  • API
Powered by GitBook
On this page

API

API detailed overview

PreviousTeam

Last updated 2 years ago

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

Supply

Circulating supply:

Total supply:

https://api.kperp.exchange/tokens
https://api.kperp.exchange/actions
https://web3-tools.netlify.app/
ethers
https://api.kperp.exchange/hourly_volume
https://api.kperp.exchange/daily_volume
https://api.kperp.exchange/weekly_volume
https://api.kperp.exchange/total_volume
https://api.kperp.exchange/circulating-supply
https://api.kperp.exchange/total-supply
Page cover image