GET /api/v2/feestats/{block_id} - Blockbook REST API
Please note that this REST method requires the BCH Blockbook add-on enabled on your Quicknode endpoint.
Path Parameters
block_id
string
REQUIRED
Loading...
Query Parameters
Returns
txCount
integer
Loading...
totalFeesSat
string
Loading...
averageFeePerKb
integer
Loading...
decilesFeePerKb
array
Loading...
Request
1curl -X GET "https://docs-demo.bch-mainnet.quiknode.pro/feestats/800000" \2-H "Content-Type: application/json"
1curl -X GET "https://docs-demo.bch-mainnet.quiknode.pro/feestats/800000" \2-H "Content-Type: application/json"
Response
1{2"txCount": 19,3"totalFeesSat": "20602",4"averageFeePerKb": 1499,5"decilesFeePerKb": [61000,71000,81000,91000,101000,111004,121005,131231,142000,152053,16660017]18}
1{2"txCount": 19,3"totalFeesSat": "20602",4"averageFeePerKb": 1499,5"decilesFeePerKb": [61000,71000,81000,91000,101000,111004,121005,131231,142000,152053,16660017]18}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free