JSON-RPC methods

Ethereum type JSON-RPC Methods

Pre-requisite Readings

Below is a list of Ethereum type JSON-RPC Methods where users can curl via local node. While you can also surf to our swagger playgroundfor a better understanding.

JSON-RPC Methods

Web3

MethodNamespaceImplementedPublic

web3_clientVersion

Web3

βœ”

βœ”

web3_sha3

Web3

βœ”

βœ”

Getting Blocks

MethodNamespaceImplementedPublic

eth_getBalance

Eth

βœ”

βœ”

eth_getBlockByNumber

Eth

βœ”

βœ”

eth_getBlockByHash

Eth

βœ”

βœ”

Read data

MethodNamespaceImplementedPublic

eth_call

Eth

βœ”

βœ”

eth_getTransactionByHash

Eth

βœ”

βœ”

eth_getTransactionCount

Eth

βœ”

βœ”

eth_getTransactionReceipt

Eth

βœ”

βœ”

eth_getBlockTransactionCountByNumber

Eth

βœ”

βœ”

eth_getBlockTransactionCountByHash

Eth

βœ”

βœ”

eth_getTransactionbyBlockNumberAndIndex

Eth

βœ”

βœ”

eth_getTransactionByBlockHashAndIndex

Eth

βœ”

βœ”

eth_sign

Eth

βœ”

eth_coinbase

Eth

βœ”

Writing data

MethodNamespaceImplementedPublic

eth_sendTransaction

Eth

βœ”

eth_sendRawTransaction

Eth

βœ”

βœ”

eth_sendPrivateTransaction

Eth

eth_cancelPrivateTransaction

Eth

Account

MethodNamespaceImplementedPublic

eth_getBalance

Eth

βœ”

βœ”

eth_getStorageAt

Eth

βœ”

βœ”

eth_getCode

Eth

βœ”

βœ”

eth_accounts

Eth

βœ”

eth_getProof

Eth

βœ”

Event Logs

MethodNamespaceImplementedPublic

eth_getLogs

Eth

βœ”

βœ”

eth_getFilterChanges

Eth

βœ”

eth_getFilterLogs

Eth

βœ”

eth_newBlockFilter

Eth

βœ”

eth_newFilter

Eth

βœ”

eth_newPendingTransactionFilter

Eth

βœ”

eth_uninstallFilter

Eth

βœ”

Chain

MethodNamespaceImplementedPublic

eth_protocolVersion

Eth

βœ”

βœ”

eth_gasPrice

Eth

βœ”

βœ”

eth_estimateGas

Eth

βœ”

βœ”

eth_feeHistory

Eth

βœ”

βœ”

eth_maxPriorityFeePerGas

Eth

βœ”

βœ”

eth_chainId

Eth

βœ”

βœ”

eth_syncing

Eth

βœ”

βœ”

eth_blockNumber

Eth

βœ”

βœ”

net_listening

Net

βœ”

βœ”

net_version

Net

βœ”

βœ”

net_peerCount

Net

βœ”

βœ”

Websocket

MethodNamespaceImplementedPublic

eth_subscribe

Websocket

βœ”

eth_unsubscribe

Websocket

βœ”

Tip Block Number can be entered as a Hex string, "earliest", "latest" or "pending".

When using batch requests, we currently only allow 3 objects for Mainnet and 5 objects for Testnet

JSON-RPC namespaces

Pre-requisite Readings

Ethereum Namespaces

NamespaceDescriptionSupportedEnabled by Default

eth

Planq provides several extensions to the standard eth JSON-RPC namespace.

βœ”

βœ”

web3

The web3 API provides utility functions for the web3 client.

βœ”

βœ”

net

The net API provides access to network information of the node

βœ”

βœ”

clique

The clique API provides access to the state of the clique consensus engine. You can use this API to manage signer votes and to check the health of a private network.

❌

debug

The debug API gives you access to several non-standard RPC methods, which will allow you to inspect, debug and set certain debugging flags during runtime.

βœ”

les

The les API allows you to manage LES server settings, including client parameters and payment settings for prioritized clients. It also provides functions to query checkpoint information in both server and client mode.

❌

miner

The miner API allows you to remote control the node’s mining operation and set various mining specific settings.

βœ”

❌

txpool

The txpool API gives you access to several non-standard RPC methods to inspect the contents of the transaction pool containing all the currently pending transactions as well as the ones queued for future processing.

βœ”

❌

admin

The admin API gives you access to several non-standard RPC methods, which will allow you to have a fine grained control over your nodeinstance, including but not limited to network peer and RPC endpoint management.

❌

personal

The personal API manages private keys in the key store.

βœ”

❌

Last updated