Pangolin DEX
Search…
⌃K

PNG API

Querying key values for the PNG token on Avalanche

Development

Wrangler is used for a local development server. This is effectively a proxy-service that (nearly) replicates the Cloudflare Worker runtime.
Anyone can develop this repository locally. Fill in account_id in the wrangler.toml file. This value may (and should) be your own personal account_id.

Location

The API is available at https://api.pangolin.exchange

Methods

All methods accept a GET request.
get
https://api.pangolin.exchange/png/tvl
TVL
get
https://api.pangolin.exchange/png/total-volume
Total Volume
get
https://api.pangolin.exchange/png/total-supply
Total Supply (wei)
get
https://api.pangolin.exchange/png/total-supply-whole
Total Supply
get
https://api.pangolin.exchange/png/circulating-supply
Circulating Supply (wei)
get
https://api.pangolin.exchange/png/circulating-supply-whole
Circulating Supply
get
https://api.pangolin.exchange/png/community-treasury
Treasury Supply (wei)
get
https://api.pangolin.exchange/png/community-treasury-whole
Treasury Supply
get
https://api.pangolin.exchange/pangolin/transaction-average
Average Swap Size
get
https://api.pangolin.exchange/pangolin/apr2/:pID
Average Percentage Reward Rate