zec

Zcash (ZEC)

Method: POST getinfo

dropdown
POST

getinfo

Returns an object containing various state info.

Parameters

-

Request

curl --location --request POST 'https://zec.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",
    "result": {
        "balance": 0.0,
        "blocks": 1384346,
        "build": "v4.4.1",
        "connections": 8,
        "difficulty": 47115695.15933816,
        "errors": "",
        "errorstimestamp": 1631190613,
        "keypoololdest": 1625167933,
        "keypoolsize": 101,
        "paytxfee": 0.0,
        "protocolversion": 170013,
        "proxy": "",
        "relayfee": 1e-06,
        "subversion": "/MagicBean:4.4.1/",
        "testnet": false,
        "timeoffset": 0,
        "version": 4040150,
        "walletversion": 60000
    }
}