announce leftannounce right

🐯 Start a Lunar New Year with Our Biggest Sale on Dedicated & Shared Nodes!

dcr

Decred (DCR)

Method: POST getinfo

dropdown
POST

getinfo

Returns a JSON object containing various state info.

Parameters

-

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


Response

{
    "error": null,
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "addrindex": true,
        "blocks": 590054,
        "connections": 8,
        "difficulty": 17582242224.688896,
        "errors": "",
        "protocolversion": 8,
        "proxy": "",
        "relayfee": 0.0001,
        "testnet": false,
        "timeoffset": 0,
        "txindex": true,
        "version": 1060200
    }
}
close

Getblock

Spring Festival Sale!
Up to 50% Off.