← Bitcoin overview
Bitcoin · bitcoin
getblockstats
Bitcoin Core RPC: getblockstats
Bitcoin Core / compatible node RPC. Reference: developer.bitcoin.org/reference/rpc/getblockstats.html
Result
Bitcoin Core JSON-RPC result
Schema
{
"type": "unknown"
}Example request
Endpoint: https://your-btc-node.azxa.io
JSON-RPC
{
"jsonrpc": "1.0",
"id": 1,
"method": "getblockstats",
"params": []
}Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}cURL
curl -X POST https://your-btc-node.azxa.io \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"1.0","id":1,"method":"getblockstats","params":[]}'