POSTgetchaintxstats
https://bitcoin-mainnet.nodit.io/Computes statistics about the total number and rate of transactions in the chain. You can specify the size of the window in number of blocks and the block that ends the window.
It contains following parameters in order:
nblocks: The size of the window in number of blocks, as an integer. (optional, defaults to roughly one month of blocks)blockhash: The hash of the block that ends the window, as a string. (optional, defaults to the chain tip)
The size of the window in number of blocks. Roughly one month of blocks is used when omitted.
The hash of the block that ends the window. The chain tip is used when omitted.
The timestamp of the final block in the window, expressed in UNIX epoch time.
The total number of transactions in the chain up to that point. It may not be returned when the value is unknown, such as when using assumeutxo.
The hash of the final block in the window.
The height of the final block in the window.
The size of the window in number of blocks.
The number of transactions in the window.
Returned only when window_block_count is greater than 0 and txcount exists for both the start and the end of the window.
The elapsed time in the window, in seconds. Returned only when window_block_count is greater than 0.
The average rate of transactions per second in the window.
Returned only when window_interval is greater than 0 and window_tx_count exists.