Get statistics for mempool transactions
Retrieves statistics for transactions in the mempool, such as counts, ages, and fees.
GET
/extended/v1/tx/mempool/stats
Get statistics for mempool transactions
Queries for transactions counts, age (by block height), fees (simple average), and size. All results broken down by transaction type and percentiles (p25, p50, p75, p95).
Status code | Description |
---|---|
200 | Statistics for mempool transactions |
Terminal
$curl -X GET "https://api.hiro.so/extended/v1/tx/mempool/stats"
GET request that returns stats on mempool transactions
{"tx_type_counts": {"token_transfer": 0,"smart_contract": 0,"contract_call": 0,"poison_microblock": 0},"tx_simple_fee_averages": {"token_transfer": {"p25": 0,"p50": 0,"p75": 0,"p95": 0},"smart_contract": {"p25": 0,"p50": 0,"p75": 0,"p95": 0},"contract_call": {"p25": 0,"p50": 0,"p75": 0,"p95": 0},"poison_microblock": {"p25": 0,"p50": 0,"p75": 0,"p95": 0}},"tx_ages": {"token_transfer": {"p25": 0,"p50": 0,"p75": 0,"p95": 0},"smart_contract": {"p25": 0,"p50": 0,"p75": 0,"p95": 0},"contract_call": {"p25": 0,"p50": 0,"p75": 0,"p95": 0},"poison_microblock": {"p25": 0,"p50": 0,"p75": 0,"p95": 0}},"tx_byte_sizes": {"token_transfer": {"p25": 0,"p50": 0,"p75": 0,"p95": 0},"smart_contract": {"p25": 0,"p50": 0,"p75": 0,"p95": 0},"contract_call": {"p25": 0,"p50": 0,"p75": 0,"p95": 0},"poison_microblock": {"p25": 0,"p50": 0,"p75": 0,"p95": 0}}}