dcr

Decred (DCR)

Method: POST reconsiderblock

dropdown
POST

reconsiderblock

Method not allowed

Reconsiders a block for validation and best chain selection by removing any invalid status from it and its ancestors.

Any descendants that are neither themselves marked as having failed validation, nor descendants of another such block, are also made eligibile for best chain selection.

Parameters

block hash - string

the hash of the block to reconsider.

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": "reconsiderblock",
"params": [null],
"id": "getblock.io"}'


Response

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