Please note that this RPC method requires the Blockbook RPC enabled on your Quicknode endpoint.
Parameters
- block_idstringREQUIRED
The block height or block hash to query.
Returns
- txCountinteger
Number of transactions in the block.
- totalFeesSatstring
Total fees paid in the block, in satoshis.
- averageFeePerKbinteger
Average fee per kilobyte across the block, in satoshis.
- decilesFeePerKbarray
Fee-per-kilobyte distribution split into deciles (11 values, lowest to highest), in satoshis.
Request
Response
1{2"id": 1,3"result": {4"txCount": 0,5"totalFeesSat": "0",6"averageFeePerKb": 0,7"decilesFeePerKb": [80,90,100,110,120,130,140,150,160,170,18019]20},21"jsonrpc": "2.0"22}
1{2"id": 1,3"result": {4"txCount": 0,5"totalFeesSat": "0",6"averageFeePerKb": 0,7"decilesFeePerKb": [80,90,100,110,120,130,140,150,160,170,18019]20},21"jsonrpc": "2.0"22}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free