Get value by table and function
GET
/v1/stats/summary/{table}/{function}Last modified: 3 months ago
Returns string value by passed table and function.
Availiable tables
block
block_stats
tx
message
event
Availiable functions
sum
min
max
avg
count
Column
query parameter is required for functions sum
, min
, max
and avg
and should not pass for count
.
Availiable columns and functions for tables:
Block
height
-- min maxtime
-- min max
Block stats
height
-- min maxtime
-- min maxtx_count
-- min max sum avgevents_count
-- min max sum avgblobs_size
-- min max sum avgblock_time
-- min max sum avgsupply_chnge
-- min max sum avginflation_rate
-- min max avgfee
-- min max sum avg
Tx
height
-- min maxtime
-- min maxgas_wanted
-- min max sum avggas_used
-- min max sum avgtimeout_height
-- min max avgevents_count
-- min max sum avgmessages_count
-- min max sum avgfee
-- min max sum avg
Event
height
-- min maxtime
-- min max
Message
height
-- min maxtime
-- min max
Request
Path Params
table
enum<string>
required
Table name
Allowed values:
blockblock_statstxeventmessagevalidator
Example:
block_stats
function
enum<string>
required
Function name
Allowed values:
minmaxavgsumcount
Example:
sum
Query Params
column
string
optional
Column name which will be used for computation. Optional for count.
Example:
tx_count
from
integer
optional
Time from in unix timestamp
Example:
1727523000
to
integer
optional
Time to in unix timestamp
Example:
1727524000
Request samples
Responses
OK(200)
Bad Request(400)
Internal Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
string
optional
Example
"string"
Last modified: 3 months ago