post https://api.infstones.com/neo/mainnet/
Gets the version information of the node.
Parameters
None
Result
The version information of the node.
Example
Request
curl <your-endpoint> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "getversion", "params":[],"id": 1}'
Return
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"tcpport": 10333,
"wsport": 10334,
"nonce": 381994945,
"useragent": "/Neo:3.1.0/",
"protocol": {
"addressversion": 53,
"network": 860833102,
"validatorscount": 7,
"msperblock": 15000,
"maxtraceableblocks": 2102400,
"maxvaliduntilblockincrement": 5760,
"maxtransactionsperblock": 512,
"memorypoolmaxtransactions": 50000,
"initialgasdistribution": 5200000000000000
}
}
}