Skip to main content

bb_getFeeStats RPC Method - Blockbook

Loading...

Updated on
Jun 16, 2026

bb_getFeeStats RPC Method - Blockbook

Please note that this RPC method requires the Blockbook RPC 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
1
curl -X POST "https://docs-demo.btc.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "bb_getFeeStats",
6
"params": [
7
"800000"
8
],
9
"id": 1
10
}'
1
curl -X POST "https://docs-demo.btc.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "bb_getFeeStats",
6
"params": [
7
"800000"
8
],
9
"id": 1
10
}'
Response
1
{
2
"id": 1,
3
"result": {
4
"txCount": 3720,
5
"totalFeesSat": "13687680",
6
"averageFeePerKb": 11905,
7
"decilesFeePerKb": [
8
4081,
9
5678,
10
5814,
11
6000,
12
6000,
13
6058,
14
6260,
15
7000,
16
7934,
17
12055,
18
1105392
19
]
20
},
21
"jsonrpc": "2.0"
22
}
1
{
2
"id": 1,
3
"result": {
4
"txCount": 3720,
5
"totalFeesSat": "13687680",
6
"averageFeePerKb": 11905,
7
"decilesFeePerKb": [
8
4081,
9
5678,
10
5814,
11
6000,
12
6000,
13
6058,
14
6260,
15
7000,
16
7934,
17
12055,
18
1105392
19
]
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