Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Namespaces

Telcoin Network nodes serve the Ethereum JSON-RPC interface over HTTP, WebSocket and IPC, so wallets, dapps and tooling built for Ethereum can read the chain and submit transactions without changes.

Methods are grouped into namespaces. A namespace is the prefix before the underscore in a method name: eth_call belongs to eth, tn_getCurrentEpoch to tn. An operator chooses which namespaces each transport serves with --http.api and --ws.api; Enabling Namespaces explains the flags, the defaults and how to check what a node serves.

NamespaceOn by defaultCost to serveWhat it covers
ethyeslowEthereum-compatible chain, account, transaction, simulation and filter methods
netyeslowChain id, listening state and the worker network’s peer count
web3yeslowClient version and Keccak-256 hashing
rpcyestrivialThe namespaces the transport serves
tnyeslow to moderate (blocking reads are capped at 64 concurrent requests)Telcoin Network consensus, epoch, validator and staking data
debugno, only when namedhighRaw block and transaction data and geth-style EVM tracing
traceno, only when namedhighParity-style call traces, replays and trace filters

debug and trace re-execute historical transactions against archive state. One request can cost far more than an eth_* call, so they are never part of the default set or of all.

Node role--http.api / --ws.apiNotes
Core validatoreth,net,web3Serve RPC only on a private or gateway interface; see network topology. Keep eth: observers forward eth_sendRawTransaction to a committee validator’s advertised RPC endpoint.
Public RPC (observer)eth,net,web3,rpc,tnThe default set; no flag is needed.
Private archive or indexereth,net,web3,rpc,tn,debug,traceKeep behind authentication or a method allowlist, and size --rpc.max-tracing-requests for the host.

The JSON-RPC methods are documented per namespace in the sections below. Each page lists the parameters, the result, and a curl request with its response.