getnodeaddresses {disallowed} - DigiByte
Example code for the getnodeaddresses {disallowed} json-rpc method. Сomplete guide on how to use getnodeaddresses {disallowed} json-rpc in GetBlock.io Web3 documentation.
Parameters
count
- numeric, optional, default=1
How many addresses to return. Limited to the smaller of 2500 or 23% of all known addresses.
Request
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "getnodeaddresses",
"params": [null],
"id": "getblock.io"}'
Response
{
"result": "null",
"id": "getblock.io",
"status_code": 405,
"message": "Method not allowed"
}
Last updated