RPC-API

When interacting with Plasma, most requests pass directly through the node. Because the node is based on Reth, it follows a fully-compatible structure with Ethereum’s JSON-RPC. For further details on the supported endpoints, please refer to the Ethereum documentation and the Reth book.

As in Reth, endpoints can be accessed over HTTP, WebSockets, or IPC.

The following namespaces and endpoints are supported:

  • eth

    • eth_getBlockByNumber

    • eth_blockNumber

    • eth_getBlockReceipts

    • eth_getTransactionByHash

    • eth_sendRawTransaction

    • eth_getTransactionCount

    • eth_getBalance

    • eth_estimateGas

    • eth_gasPrice

    • eth_getLogs

    • eth_getTransactionReceipt

  • web3

    • web3_clientVersion

    • web3_sha3

  • txpool

    • txpool_content

    • txpool_contentFrom

    • txpool_inspect

    • txpool_status

  • debug

    • debug_getRawHeader

    • debug_getRawBlock

    • debug_getRawTransaction

    • debug_getRawReceipts

    • debug_getBadBlocks

    • debug_traceChain

    • debug_traceBlock

    • debug_traceBlockByHash

    • debug_traceBlockByNumber

    • debug_traceTransaction

    • debug_traceCall

  • trace

    • trace_call

    • trace_callMany

    • trace_rawTransaction

    • trace_replayBlockTransaction

    • trace_replayTransaction

    • trace_block

    • trace_filter

    • trace_get

    • trace_transaction

  • rpc

    • rpc_modules

Last updated