admin_nodeInfo
Last updated:
Parameters
This method takes no parameters.
Returns
| Field | Type |
|---|---|
| result | object |
Examples
curl https://triport.io/sol \
-X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer <api-key>' \
-d '{"id":1,"method":"admin_nodeInfo","params":[],"jsonrpc":"2.0"}'const res = await fetch("https://triport.io/sol", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: "Bearer <api-key>" },
body: JSON.stringify({
"id": 1,
"method": "admin_nodeInfo",
"params": [],
"jsonrpc": "2.0"
}),
});
const data = await res.json();import requests
resp = requests.post(
"https://triport.io/sol",
headers={"Authorization": "Bearer <api-key>"},
json={"id":1,"method":"admin_nodeInfo","params":[],"jsonrpc":"2.0"},
)
print(resp.json())Usage
- Transport: HTTP (JSON-RPC).
- Networks: mainnet.
- Credit cost: 1 per call.
FAQ
- What does admin_nodeInfo do?
- Not available through Triport. admin_* is a node-management namespace and is not exposed by the service.
- How many credits does admin_nodeInfo cost?
- admin_nodeInfo costs 1 credit(s) per call on Triport by default.
- Is admin_nodeInfo available over WebSocket?
- admin_nodeInfo is an HTTP JSON-RPC method.