Getinfo

getinfo

Returns basic information about the node

Result:
{                              (json object)
  "version_number" : "hex",    (string) The version number
  "version_full" : "str",      (string) The full version as a string
  "avalanche" : true|false     (boolean) Wether avalanche is enabled
}

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