estimatesmartfee - Bitcoin
Example code for the estimatesmartfee JSON RPC method. Сomplete guide on how to use estimatesmartfee JSON RPC in GetBlock Web3 documentation.
Parameters
Parameter
Type
Required
Description
Request
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "estimatesmartfee",
"params": [6, "economical"],
"id": "getblock.io"
}'Response
{
"jsonrpc": "2.0",
"id": "getblock.io",
"result": {
"feerate": 0.00012345,
"blocks": 6
}
}Response Parameters
Field
Type
Description
Use Case
Error Handling
Status Code
Error Message
Cause
Integration Notes
Last updated
Was this helpful?