getAllTokens
Fetches token info for all tokens on Angstrom.
warning
This method is only available through the data endpoint.
Parameters
Parameter | Type | Description |
---|---|---|
block_number | number? | (optional) Block height to fetch the configuration at (defaults to latest) |
Result
Array<Address>
— Returns an array of Address
, corresponding to the unique tokens:
Request
curl "https://api.data.angstrom.xyz" \
-X POST -H "Content-Type: application/json" -d '
{
"jsonrpc":"2.0",
"id":1,
"method":"angstrom_allTokens",
"params":[]
}
'