TriportRPC

admin_nodeInfo

Last updated:

Parameters

This method takes no parameters.

Returns

admin_nodeInfo return value
FieldType
resultobject

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

  1. Transport: HTTP (JSON-RPC).
  2. Networks: mainnet.
  3. 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.