getchaintxstats
Calculates statistics about the overall transaction rate and volume of the blockchain over a window of blocks.
Path parameters
apiKey
Request
This endpoint expects an object.
nblocks
The size of the window in number of blocks. Defaults to approximately one month.
blockhash
The block hash at which the window ends. Defaults to chain tip.
Response
The calculated chain transaction statistics.
time
Timestamp for the last block in the window (UNIX epoch).
txcount
Total number of transactions up to the final block.
window_final_block_hash
Hash of the final block in the window.
window_final_block_height
Height of the final block in the window.
window_block_count
Number of blocks included in the window.
window_tx_count
Number of transactions in the window.
window_interval
Elapsed time (in seconds) across the window.
txrate
Average transaction rate per second across the window.