TriportRPC

admin_nodeInfo

Last updated:

`admin_nodeInfo` returns a single object describing the node that handled the call: its node ID, the human-readable client name/version, the `enode` URL used for peering, the IP and ports it listens on, and the set of sub-protocols it supports along with their status.

Use it to confirm which node served a request, to read the node's advertised `enode` for peering diagnostics, or as the anchor point when building a peer graph alongside the other `eth_peergraph` methods.

This is a **business-tier** method in the `eth_peergraph` category. It takes no parameters and is rate-limited to **20 requests per second** with burst.

Parameters

This method takes no parameters.

Returns

admin_nodeInfo return value
FieldType
resultobject

Examples

curl https://<your-endpoint>/ \
  -X POST -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"admin_nodeInfo","params":[]}'
const res = await fetch("https://<your-endpoint>/", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "id": 1,
  "method": "admin_nodeInfo",
  "params": [],
  "jsonrpc": "2.0"
}),
});
const data = await res.json();
import requests
resp = requests.post("https://<your-endpoint>/", 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?
Returns metadata about the Ethereum node serving your request — its identity, network endpoints, and the sub-protocols it speaks.
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.