Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Draft. These docs are a preview, and the content can change.
cURL
curl --request GET \ --url https://api.polygon.ana.fi/api/fees
const options = {method: 'GET'}; fetch('https://api.polygon.ana.fi/api/fees', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://api.polygon.ana.fi/api/fees" response = requests.get(url) print(response.text)
{ "feesOn": true, "treasury": "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed", "bps": 20, "floorUsdCents": 20, "floors": [ { "token": "USDC", "tokenAddress": "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed", "amountRaw": "200000" } ], "feeTokens": [ "USDC", "USDT0" ], "observedAt": 123 }
The live fee terms of this network.
The fee terms.
^0x[0-9a-fA-F]{40}$
"0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed"
The fee of one payment in basis points.
20
The least fee of one payment in each token.
Hide child attributes
"USDC"
The token contract, or the zero address for the native coin.
A decimal integer in the raw units of the token.
"200000"
["USDC", "USDT0"]
Unix seconds of the price behind the floors.