ERC20 Metadata
Fetch ERC20 metadata for tokens created in the last 24 hours.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/erc20?from_block=-8640" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 1,
"address": "0x765674b353d23bfba59067d1c5ed6c2dbf938d65",
"name": "Blocksafe",
"symbol": "Blocksafe",
"decimals": 9
}
]
Query Parameters
v1/api/erc20
chains
: This parameter is used to filter the data by specific blockchain networks.from_block
: This parameter is used to filter the data by a starting block number.to_block
: This parameter is used to filter the data by an ending block number.address__in
: This parameter is used to filter the data by a list of addresses.symbol__in
: This parameter is used to filter the data by a list of token symbols.name__in
: This parameter is used to filter the data by a list of token names.decimals__gte
: This parameter is used to filter the data by a minimum value for decimals.decimals__lte
: This parameter is used to filter the data by a maximum value for decimals.