dcr

Decred (DCR)

Method: POST estimatefee

dropdown

POST estimatefee

Returns the estimated fee in dcr/kb.

Parameters

numblocks - numeric

unused.

Request

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


Response

{
    "error": null,
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": 0.0001
}