estimatesmartfee - Bitcoin Gold

Parameters

conf_target - numeric, required

Confirmation target in blocks (1 - 1008)

estimate_mode - string, optional, default=CONSERVATIVE

The fee estimate mode.

Whether to return a more conservative estimate which also satisfies a longer history.

A conservative estimate potentially returns a higher feerate and is more likely to be sufficient for the desired target, but is not as responsive to short term drops in the prevailing fee market.

Must be one of:

UNSET

ECONOMICAL

CONSERVATIVE

Request

javacurl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "estimatesmartfee",
"params": [1, "CONSERVATIVE"],
"id": "getblock.io"}'

Response

java{
    "error": null,
    "id": "getblock.io",
    "result": {
        "blocks": 2,
        "feerate": 1.007e-05
    }
}