Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Created May 13, 2021 03:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuyasugano/63af1bebf54df94d3a78b019f17ade14 to your computer and use it in GitHub Desktop.
Save yuyasugano/63af1bebf54df94d3a78b019f17ade14 to your computer and use it in GitHub Desktop.
get your node ID in Avalanche
curl -X POST --data '{
"jsonrpc": "2.0",
"method": "info.getNodeID",
"params":{},
"id": 1
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/info
{"jsonrpc":"2.0","result":{"nodeID":"NodeID-EggGmnQFaTffeRNG1Kzs9dXJzFGdxac3D"},"id":1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment