Skip to main content

ankr_getCurrencies

List native and ERC-20 currencies indexed on a chain

POST 

/?ankr_getCurrencies

Returns the catalog of currencies (native coin + indexed ERC-20 tokens) for a single blockchain, including symbol, decimals, contract address, and a thumbnail URL.

Pass blockchain to scope the catalog. Useful for building asset pickers, populating token dropdowns, or mapping unknown contract addresses to known token metadata.

Part of the Token API product (700 compute units per call, $0.00007 at base rate).

Request

Responses

Success. JSON-RPC result contains the currencies array. JSON-RPC errors are returned with HTTP 200; check for an error key in the response body.