v1

latestOpenAPI 3.1.02026-07-13603344.2 KB
channels
volume

Get economic volume for a single channel over a time window

get/api/channels/{channelId}/volume

Path parameters

channelIdstring required

The ID of the channel

Query parameters

hoursinteger

Lookback window in hours

Example:24

Response

Channel volume data

channelIdstring required

On-chain channel identifier (uint256)

txCountinteger required

Number of transactions (CommentAdded + CommentEdited + CommentDeleted) in the time window

gasTotalstring required

Sum of gas costs in wei (gasUsed * effectiveGasPrice per transaction)

valueTotalstring required

Sum of native ETH sent via msg.value in wei (does not include ERC-20 hook fees)

volumeTotalstring required

gasTotal + valueTotal in wei

Example response

{
  "channelId": "42",
  "txCount": 142,
  "gasTotal": "892340000000000",
  "valueTotal": "892340000000000",
  "volumeTotal": "892340000000000"
}