ZEC
POST
GET
Last updated on January 1, 1970
2 min read
Method getinfo undefined ()
connect with JSON-RPC protocol
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
}
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }