Dogecoin
getnodeaddresses15クレジット
Returns known addresses that can potentially be used to find new peers
パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
| count | number | Maximum number of addresses to return. Default is 1; 0 returns all known addresses. (任意) |
| network | string | Restrict to one network: ipv4, ipv6, onion, i2p or cjdns. Default is all networks. (任意) |
戻り値
型
Object[]
Array of { time (last seen, Unix), services, address, port, network }.
コード例
curl https://holy-burned-sky-doge-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getnodeaddresses",
"params": [
10,
"ipv4"
]
}'