A web based interface to the Bitcoin API JSON-RPC

Command: getinfo

The getinfo RPC prints various information about the node and the network.

Parameters: none
Result—information about the node and network

	"result": {
		"deprecation-warning": "WARNING: getinfo is deprecated and will be fully removed in 0.16. Projects should transition to using getblockchaininfo, getnetworkinfo, and getwalletinfo before upgrading to 0.16",
		"version": 150100,
		"protocolversion": 70015,
		"walletversion": 139900,
		"balance": 0.00000000,
		"blocks": 519056,
		"timeoffset": 0,
		"connections": 24,
		"proxy": "",
		"difficulty": 3839316899029.672,
		"testnet": false,
		"keypoololdest": 1517785544,
		"keypoolsize": 1659,
		"unlocked_until": 0,
		"paytxfee": 1.00000000,
		"relayfee": 0.00001000,
		"errors": ""
	"error": null,
	"id": null

DEPRECATED. Returns an object containing various state info.

  "deprecation-warning": "..." (string) warning that the getinfo command is deprecated and will be removed in 0.16
  "version": xxxxx,           (numeric) the server version
  "protocolversion": xxxxx,   (numeric) the protocol version
  "walletversion": xxxxx,     (numeric) the wallet version
  "balance": xxxxxxx,         (numeric) the total bitcoin balance of the wallet
  "blocks": xxxxxx,           (numeric) the current number of blocks processed in the server
  "timeoffset": xxxxx,        (numeric) the time offset
  "connections": xxxxx,       (numeric) the number of connections
  "proxy": "host:port",       (string, optional) the proxy used by the server
  "difficulty": xxxxxx,       (numeric) the current difficulty
  "testnet": true|false,      (boolean) if the server is using testnet or not
  "keypoololdest": xxxxxx,    (numeric) the timestamp (seconds since Unix epoch) of the oldest pre-generated key in the key pool
  "keypoolsize": xxxx,        (numeric) how many new keys are pre-generated
  "unlocked_until": ttt,      (numeric) the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked
  "paytxfee": x.xxxx,         (numeric) the transaction fee set in BTC/kB
  "relayfee": x.xxxx,         (numeric) minimum relay fee for transactions in BTC/kB
  "errors": "..."             (string) any error messages

> bitcoin-cli getinfo 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;'