GET
/
transactions
/
metrics
/
latest
Transactions Metrics Latest
curl --request GET \
  --url https://api.amberdata.com/blockchains/transactions/metrics/latest \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "timestamp": "2020-03-30T22:42:38.000Z",
    "feesAverage": "628993184124405.1129",
    "feesAverageUSD": "0.08450460529392970212339",
    "feesTotal": "452106462898571658260",
    "feesTotalUSD": "60740.0511839602037209467",
    "feesUnit": "wei",
    "transactionsTotal": "718778",
    "valueAverage": "2272008809311800328",
    "valueAverageUSD": "305.2421115222310585047",
    "valueTotal": "1633069947939517216169913",
    "valueTotalUSD": "219401314.435726198452384",
    "valueUnit": "wei",
    "functionsTotal": "2040068",
    "gasPriceAverage": "14525559370.27676717",
    "inputsAverage": "2.4412388182636623",
    "inputsTotal": "764679",
    "outputsAverage": "2.6515703914645281",
    "outputsTotal": "830562"
  }
}

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

Query Parameters

includePrice
boolean
default:true

Include price in USD for value metrics

timeFormat
string
default:iso

[Optional] Time format of the timestamps in the return payload.<BR/>[Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Response

200
application/json

200

The response is of type object.