getchaintxstats RPC Method
Parameters
nblocks
numeric
Loading...
blockhash
string
Loading...
Returns
result
Loading...
time
Loading...
txcount
Loading...
window_final_block_hash
Loading...
window_final_block_height
Loading...
window_block_count
Loading...
window_tx_count
Loading...
window_interval
Loading...
txrate
Loading...
error
Loading...
Request
1curl -X POST "https://docs-demo.btc.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "getchaintxstats",6"params": [720168],9"id": 110}'
1curl -X POST "https://docs-demo.btc.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "getchaintxstats",6"params": [720168],9"id": 110}'
Response
1{2"jsonrpc": "2.0",3"result": {4"time": 1769215475,5"txcount": 1301087928,6"window_final_block_hash": "00000000000000000000b286a4d4ac73f6ad82e54d9ccf6d2d71c492ceeb4930",7"window_final_block_height": 933586,8"window_block_count": 2016,9"window_interval": 1236672,10"window_tx_count": 5491262,11"txrate": 4.4403544351291212},13"id": 114}
1{2"jsonrpc": "2.0",3"result": {4"time": 1769215475,5"txcount": 1301087928,6"window_final_block_hash": "00000000000000000000b286a4d4ac73f6ad82e54d9ccf6d2d71c492ceeb4930",7"window_final_block_height": 933586,8"window_block_count": 2016,9"window_interval": 1236672,10"window_tx_count": 5491262,11"txrate": 4.4403544351291212},13"id": 114}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free