API Documentation

GET/api/1/crypto-extended/onchain/{symbol}

On-Chain Metrics API

Returns 90-day on-chain metrics for BTC or ETH: hash rate, difficulty, active addresses, transaction count, fees, block size, supply, miner revenue, mempool, NVT ratio

Parameters

1
symbolstringrequired
path

BTC or ETH

Responses

Was this helpful?
Request
curl -X GET \
  'https://api.eulerpool.com/api/1/crypto-extended/onchain/BTC' \
  -H 'Accept: application/json'
200 Response
{
  "symbol": "BTC",
  "metrics": {
    "date": "2024-01-15T00:00:00.000Z",
    "hash_rate": 0,
    "active_addresses": 0,
    "tx_count": 0,
    "avg_tx_fee": 0,
    "miner_revenue": 0,
    "market_cap": 0
  }
}