bb_getFeeStats RPC Method - Blockbook
Please note that this RPC method requires the Doge Blockbook add-on enabled on your Quicknode endpoint.
Parameters
block_id
string
REQUIRED
Loading...
Returns
txCount
integer
Loading...
totalFeesSat
string
Loading...
averageFeePerKb
integer
Loading...
decilesFeePerKb
array
Loading...
Request
1curl -X POST "https://docs-demo.doge-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "bb_getFeeStats",6"params": [7"4000000"8],9"id": 110}'
1curl -X POST "https://docs-demo.doge-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "bb_getFeeStats",6"params": [7"4000000"8],9"id": 110}'
Response
1{2"id": 1,3"result": {4"txCount": 69,5"totalFeesSat": "13766102286",6"averageFeePerKb": 564875878,7"decilesFeePerKb": [81004000,9102564102,10268096514,11442477876,12444444444,13488888888,14488888888,15520833333,16632911392,171002053388,18355555555519]20},21"jsonrpc": "2.0"22}
1{2"id": 1,3"result": {4"txCount": 69,5"totalFeesSat": "13766102286",6"averageFeePerKb": 564875878,7"decilesFeePerKb": [81004000,9102564102,10268096514,11442477876,12444444444,13488888888,14488888888,15520833333,16632911392,171002053388,18355555555519]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