GET
/
metrics
/
latest
Metrics - By Blockchain
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"
  }
}

Authorizations

x-api-key
string
header
required

Headers

x-amberdata-blockchain-id
enum<string>
default:ethereum-mainnet

The id of the blockchain

Available options:
bitcoin-mainnet,
bitcoin-abc-mainnet,
ethereum-mainnet,
litecoin-mainnet,
polygon-mainnet

Response

200
application/json

200

The response is of type object.