Difference between revisions of "POST: /ext/info"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
"jsonrpc":"2.0", | "jsonrpc":"2.0", | ||
"id" :1, | "id" :1, | ||
− | "method" :"info.getNodeID" | + | "method" :"[[info.getNodeID]]" |
}' -H '[[content-type:application/json]];' 127.0.0.1:9650/ext/info | }' -H '[[content-type:application/json]];' 127.0.0.1:9650/ext/info | ||
Revision as of 13:24, 17 April 2023
rpc: POST method required, received GET
curl -X POST --data '{ "jsonrpc":"2.0", "id" :1, "method" :"info.getNodeID" }' -H 'content-type:application/json;' 127.0.0.1:9650/ext/info
curl -X POST --data '{ "jsonrpc":"2.0", "id" :1, "method" :"info.isBootstrapped", "params":{ "chain":"X" } }' -H 'content-type:application/json;' 127.0.0.1:9650/ext/info
{ "jsonrpc": "2.0", "result": { "nodeID": "NodeID-1234567890", "nodePOP": { "publicKey": "0x23543645654689d85c12d96220dde68cd4bbf756c8bf7897340982347", "proofOfPossession": "0x234523626325e0b6b234524352545324552343" } }, "id": 1 }
See also
- Avalanche API:
/ext/, /ext/info, /ext/admin, /ext/bc/, /ext/health
avalanchego [ --version | --help ]
,9650, 9651
, Upgrade avalanchego, logs, Subnet EVM,~/.avalanchego/
- 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: