GetNodeInfo queries the current node info.
Parameters
None
Result
Example
Request
curl <your-rest-endpoint>/cosmos/base/tendermint/v1beta1/node_info \
-X GET \
-H "accept: application/json"
Return
{
"default_node_info": {
"protocol_version": {
"p2p": "8",
"block": "11",
"app": "0"
},
"default_node_id": "fce4e4a0790d431a1170970c8773721c4901a0f0",
"listen_addr": "tcp://0.0.0.0:26656",
"network": "cosmoshub-4",
"version": "v0.34.24",
"channels": "QCAhIiMwOGBhAA==",
"moniker": "infstones",
"other": {
"tx_index": "on",
"rpc_address": "tcp://0.0.0.0:26657"
}
},
"application_version": {
"name": "gaia",
"app_name": "gaiad",
"version": "v8.0.0",
"git_commit": "f9507c7e79f258aaa9a2265ca7d94e53988ffe16",
"build_tags": "netgo,ledger",
"go_version": "go version go1.18.2 linux/amd64",
"build_deps": [
{
"path": "filippo.io/edwards25519",
"version": "v1.0.0-rc.1",
"sum": "h1:m0VOOB23frXZvAOK44usCgLWvtsxIoMCTBGJZlpmGfU="
},
{
"path": "github.com/99designs/keyring",
"version": "v1.2.1",
"sum": ""
},
...
{
"path": "gopkg.in/yaml.v3",
"version": "v3.0.1",
"sum": "h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA="
},
{
"path": "nhooyr.io/websocket",
"version": "v1.8.6",
"sum": "h1:s+C3xAMLwGmlI31Nyn/eAehUlZPwfYZu2JXM621Q5/k="
}
],
"cosmos_sdk_version": "v0.45.12"
}
}