TRON
wallet/listnodes10 kredi
Returns the peers known to the node.
Parametreler
| Ad | Tür | Açıklama |
|---|---|---|
| visible | boolean | true = host as readable IP text; false (default) = hex-encoded IP text. (isteğe bağlı) |
Dönüş değeri
Tür
Object
Object with a nodes array of { address: { host, port } }; {} when empty. These are connectable P2P nodes, not necessarily current connections (see peerList in wallet/getnodeinfo).
Kod örnekleri
curl 'https://holy-burned-sky-tron-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/wallet/listnodes' \
-X POST \
-H 'content-type: application/json' \
-d '{}'