Skip to main content

getchaintxstats

Overview

The 'getchaintxstats' method returns the current client version.

Request

curl --location 'https://bitcoin-mainnet.node.coinapi.io' \
--header 'x-coinapi-key: '73034021-THIS-IS-SAMPLE-KEY' \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--data '{"jsonrpc":"2.0","method":"getchaintxstats","params": [],"id":1}'

Request Parameters

Response

{
"result": {
"time": 1696369677,
"txcount": 902751827,
"window_final_block_hash": "00000000000000000004749a1d06c52c2442a7bec69ace34edb9a0d6e9102182",
"window_final_block_height": 810528,
"window_block_count": 4320,
"window_tx_count": 13661510,
"window_interval": 2535793,
"txrate": 5.38747050725355
},
"error": null,
"id": 1
}