Last updated
Last updated
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
.
The API is available at https://api.pangolin.exchange
All methods accept a GET request.
GET
https://api.pangolin.exchange/png/tvl
Try API:
Endpoint: /png/tvl
https://api.pangolin.exchange/png/tvl
GET
https://api.pangolin.exchange/png/total-volume
Endpoint: /png/total-volume
https://api.pangolin.exchange/png/total-volume
GET
https://api.pangolin.exchange/png/total-supply
Endpoint: /png/total-supply
https://api.pangolin.exchange/png/total-supply
GET
https://api.pangolin.exchange/png/total-supply-whole
Endpoint: /png/total-supply-whole
https://api.pangolin.exchange/png/total-supply-whole
GET
https://api.pangolin.exchange/png/circulating-supply
Endpoint: /png/circulating-supply
https://api.pangolin.exchange/png/circulating-supply
GET
https://api.pangolin.exchange/png/circulating-supply-whole
Endpoint: /png/circulating-supply-whole
https://api.pangolin.exchange/png/circulating-supply-whole
GET
https://api.pangolin.exchange/png/community-treasury
Endpoint: /png/community-treasury
https://api.pangolin.exchange/png/community-treasury
GET
https://api.pangolin.exchange/png/community-treasury-whole
Endpoint: /png/community-treasury-whole
https://api.pangolin.exchange/png/community-treasury-whole
GET
https://api.pangolin.exchange/pangolin/transaction-average
Endpoint: /pangolin/transaction-average
https://api.pangolin.exchange/pangolin/transaction-average
GET
https://api.pangolin.exchange/pangolin/apr2/:pID
Endpoint: /pangolin/apr2/:pID
https://api.pangolin.exchange/pangolin/apr2/1
Try API:
Try API:
(A result of 1 PNG would return the value 1000000000000000000
[18 decimals])
Test API:
(A result of 1 PNG would return the value 1
)
Try API:
(A result of 1 PNG would return the value 1000000000000000000
[18 decimals])
Try API:
(A result of 1 PNG would return the value 1
)
Try API:
(A result of 1 PNG would return the value 1000000000000000000
[18 decimals])
Try API:
(A result of 1 PNG would return the value 1
)
Try API:
Try API: . (Refer to to find pIDs [pool ids])
pID*
string[]
Pool ID string from 1 - poolLenght (eg. 1, ...10,... 100, etc.)
Querying key values for the PNG token on Avalanche