Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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