cURL
curl --request GET \ --url https://api.amberdata.com/blockchains/metrics/latest \ --header 'x-api-key: <api-key>'
{ "status": 200, "title": "OK", "description": "Successful request", "payload": { "algorithm": "Ethash", "blockchainId": "1c9c969065fcd1cf", "color": "#222222", "consensus": "PoW", "decimals": "18", "icon": "https://cdn.amberdata.io/images/blockchains/1c9c969065fcd1cf.png", "name": "Ethereum", "network": "Mainnet", "sizeTotal": 252047415438, "slug": "ethereum-mainnet", "unit": "wei", "utility": "gas", "website": "https://ethereum.org" } }
Get metrics for a specific blockchain.
The id of the blockchain
bitcoin-mainnet
bitcoin-abc-mainnet
ethereum-mainnet
litecoin-mainnet
polygon-mainnet
200
The response is of type object.
object
Was this page helpful?