TRX
POST
GET
Last updated on January 1, 1970
2 min read
Method /wallet/listnodes undefined ()
connect with REST protocol
/wallet/listnodes
Query the list of nodes connected to the API node
Parameters
-
Request
curl --location --request GET 'https://trx.getblock.io/wallet/listnodes' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json'
Response
{
"nodes": [
{
"address": {
"host": "3137302e3138372e3138392e3331",
"port": 18888
}
},
{
"address": {
"host": "35312e38312e3138342e3931",
"port": 30001
}
}
]
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }