v1
latestOpenAPI 3.0.02026-07-26117198177.4 KBProtocols
Get protocol statistics for a given time range
post/v1/protocols/stats
Request body
Example request
{
"beginTimestamp": "2024-04-09T00:00:00Z",
"endTimestamp": "2024-04-10T00:00:00Z",
"protocol": "interchain_payments"
}Response
Returns protocol statistics including transaction counts and denomination sums
Example response
{
"totalTransactions": 1234,
"totalUsd": 1000.5,
"denomSums": [
{
"denom": "uatom",
"total": 1000.5,
"totalUsd": 1000.5
}
],
"timeRange": {
"start": "2024-04-09T00:00:00Z",
"end": "2024-04-10T00:00:00Z"
},
"protocol": "interchain_payments"
}