Difference between revisions of "Info.getNodeID"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
* https://docs.avax.network/nodes/validate/add-a-validator#add-a-validator-with-avalanche-wallet | * https://docs.avax.network/nodes/validate/add-a-validator#add-a-validator-with-avalanche-wallet | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | {{getNodeID}} | ||
− | {{avax}} | + | Official example output: |
+ | { | ||
+ | "jsonrpc": "2.0", | ||
+ | "result": { | ||
+ | "nodeID": "NodeID-5mb46qkSBj81k9g9e4VFjGGSbaaSLFRzD", | ||
+ | "nodePOP": { | ||
+ | "publicKey": "0x8f95423f7142d00a48e1014a3de8d28907d420dc33b3052a6dee03a3f2941a393c2351e354704ca66a3fc29870282e15", | ||
+ | "proofOfPossession": "0x86a3ab4c45cfe31cae34c1d06f212434ac71b1be6cfe046c80c162e057614a94a5bc9f1ded1a7029deb0ba4ca7c9b71411e293438691be79c2dbf19d1ca7c3eadb9c756246fc5de5b7b89511c7d7302ae051d9e03d7991138299b5ed6a570a98" | ||
+ | } | ||
+ | }, | ||
+ | "id": 1 | ||
+ | } | ||
+ | |||
+ | == Related == | ||
+ | * [[avalanche subnet addValidator]] | ||
+ | |||
+ | == See also == | ||
+ | * {{avax}} | ||
+ | |||
+ | [[Category:Avalanche]] |
Latest revision as of 19:35, 24 April 2023
curl -X POST --data '{ "jsonrpc":"2.0", "id" :1, "method" :"info.getNodeID" }' -H 'content-type:application/json;' 127.0.0.1:9650/ext/info
Official example output:
{ "jsonrpc": "2.0", "result": { "nodeID": "NodeID-5mb46qkSBj81k9g9e4VFjGGSbaaSLFRzD", "nodePOP": { "publicKey": "0x8f95423f7142d00a48e1014a3de8d28907d420dc33b3052a6dee03a3f2941a393c2351e354704ca66a3fc29870282e15", "proofOfPossession": "0x86a3ab4c45cfe31cae34c1d06f212434ac71b1be6cfe046c80c162e057614a94a5bc9f1ded1a7029deb0ba4ca7c9b71411e293438691be79c2dbf19d1ca7c3eadb9c756246fc5de5b7b89511c7d7302ae051d9e03d7991138299b5ed6a570a98" } }, "id": 1 }
Related[edit]
See also[edit]
- Avalanche, AVAX token, Ava Labs, Avalanche subnets, SING token,
avalanche-cli, subnet-cli, avalanchego, AvalancheJS
, Avalanche Network Runner, Fuji, 9650, 9651,/ext/
, Exchange Chain (X-Chain), Contract Chain (C-Chain), Platform Chain (P-Chain), Avalanche Wallet, Explorers, Avalanche Cortina, Subnet EVM, apm, HyperSDK, Multiverse, Blockpay.mx, Core.app, BitNote
Advertising: