⚡ We welcome businesses to test our enterprise-grade service

btc
Bitcoin (BTC)

Method: POST estimatefee

dropdown

Method RPC estimatefee example for Bitcoin (BTC)

POST estimatefee

Method not allowed

Estimates the approximate fee per kilobyte needed for a transaction

Parameters

-

Request

curl --location --request POST 'https://btc.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "estimatefee",
"params": [],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}