Pre-alphaWork in progress
Skip to content

Supported methods ​

Direct RPC accepts standard JSON-RPC calls through your local or managed gateway. Each method page documents its parameters, return value, example, and Direct-specific limits and behavior.

The standard API ​

MethodNotes
eth_chainId—
net_version—
eth_blockNumberReturns the block number Direct uses for reads requesting latest; see block consistency.
eth_getBlockByHash
eth_getBlockByNumber
—
eth_getBlockTransactionCountByHash
eth_getBlockTransactionCountByNumber
eth_getTransactionByBlockHashAndIndex
eth_getTransactionByBlockNumberAndIndex
—
eth_getUncleByBlockHashAndIndex
eth_getUncleByBlockNumberAndIndex
eth_getUncleCountByBlockHash
eth_getUncleCountByBlockNumber
—
eth_call
eth_estimateGas
eth_getBalance
eth_getCode
eth_getStorageAt
—
eth_createAccessListUp to 30 million gas per simulation.
eth_getProof—
eth_getTransactionByHash—
eth_getTransactionReceipt—
eth_getBlockReceipts—
eth_getLogsUp to 10,000 blocks per query, including both endpoints.
eth_getTransactionCount—
eth_sendRawTransaction—
eth_gasPrice
eth_maxPriorityFeePerGas
—
eth_feeHistoryUp to 1,024 blocks and 100 reward percentiles.
eth_blobBaseFeeOnly on networks that support blob fees.
eth_subscribe
eth_unsubscribe
WebSocket only. Unsubscribe on the connection that created the subscription.
eth_newFilter
eth_newBlockFilter
eth_newPendingTransactionFilter
eth_getFilterChanges
eth_getFilterLogs
eth_uninstallFilter
—
eth_accounts
eth_sign
eth_signTransaction
eth_sendTransaction
—
personal_listAccounts
personal_newAccount
personal_importRawKey
personal_unlockAccount
personal_lockAccount
personal_sendTransaction
personal_sign
personal_ecRecover
—
eth_syncing
eth_protocolVersion
net_listening
net_peerCount
—
txpool_content
txpool_contentFrom
txpool_inspect
txpool_status
—

Trace and debug methods ​

The methods below support execution tracing and simulation. Their pages describe the accepted options, output formats, and limits.

Trace methods ​

MethodNotes
trace_block—
trace_callUp to 30 million gas. Supports call traces (trace), state changes (stateDiff), or both.
trace_callManyUp to 20 sequential calls, 30 million gas per call, and 100 million gas in total.
trace_filterUp to 1,000 blocks per search and 1,000 results per page. Pagination offset cannot exceed 10,000.
trace_get—
trace_rawTransactionUp to 30 million gas. Supports call traces (trace), state changes (stateDiff), or both.
trace_replayBlockTransactionsSupports call traces (trace), state changes (stateDiff), or both.
trace_replayTransactionSupports call traces (trace), state changes (stateDiff), or both.
trace_transaction—

Debug methods ​

MethodNotes
debug_traceBlockByHash
debug_traceBlockByNumber
Supports callTracer and prestateTracer.
debug_traceCallUp to 30 million gas. Supports callTracer and prestateTracer.
debug_traceTransactionSupports callTracer and prestateTracer.

Shared request behavior ​

HTTP POST accepts individual calls and batches. WebSockets also carry ordinary requests alongside subscriptions. URLs follow the gateway and service-path convention established in the Quickstart.

For supported reads, Direct resolves latest to a shared block rather than letting each provider choose independently. See block consistency for the behavior and its boundaries.

For a failed call, see Troubleshooting requests.

Batches ​

A batch is sent to one provider, and each call is billed separately. See Pricing. Recovery depends on the methods it contains; see Routing requests and handling failures.

For standard batch semantics, see the JSON-RPC specification.

Unstoppable Infrastructure.