Time to read: 1 min
Supported JSON-RPC Methods
Here are the supported JSON-RPC Methods.
For a full description, see the JSON RPC Method details.
Module | Method | Supported | Comments |
---|---|---|---|
web3 | web3_clientVersion | YES | |
web3 | web3_sha3 | YES | |
eth | net_version | YES | Mainnet Chain Id = 30 , Testnet Chain Id = 31 |
eth | net_peerCount | YES | |
eth | net_peerList | YES | |
eth | net_listening | YES | |
eth | eth_chainId | YES | Same response as eth_protocolVersion |
eth | eth_protocolVersion | YES | |
eth | eth_syncing | YES | |
eth | eth_coinbase | YES | |
eth | eth_mining | YES | |
eth | eth_hashrate | YES | |
eth | eth_gasPrice | YES | |
eth | eth_accounts | YES | |
eth | eth_blockNumber | YES | |
eth | eth_getBalance | YES | |
eth | eth_getStorageAt | YES | |
eth | eth_getTransactionCount | YES | |
eth | eth_getBlockTransactionCountByHash | YES | |
eth | eth_getBlockTransactionCountByNumber | YES | |
eth | eth_getUncleCountByBlockHash | YES | |
eth | eth_getUncleCountByBlockNumber | PARTIALLY | Option "pending" not yet supported. |
eth | eth_getCode | PARTIALLY | Option "pending" not yet supported. |
eth | eth_sign | YES | |
eth | eth_sendTransaction | YES | |
eth | eth_sendRawTransaction | YES | |
eth | eth_call | YES | |
eth | eth_estimateGas | YES | |
eth | eth_getBlockByHash | YES | |
eth | eth_getBlockByNumber | PARTIALLY | Option "pending" not yet supported. |
eth | eth_getTransactionByHash | YES | |
eth | eth_getTransactionByBlockHashAndIndex | YES | |
eth | eth_getTransactionByBlockNumberAndIndex | PARTIALLY | Option "pending" not yet supported. |
eth | eth_getTransactionReceipt | YES | |
eth | eth_pendingTransactions | YES | |
eth | eth_getUncleByBlockHashAndIndex | YES | |
eth | eth_getUncleByBlockNumberAndIndex | PARTIALLY | Option "pending" not yet supported. |
eth | eth_getCompilers | - | For security reasons, we've decided not to include compilers in node. |
eth | eth_compileLLL | - | For security reasons, we've decided not to include compilers in node. |
eth | eth_compileSolidity | - | For security reasons, we've decided not to include compilers in node. |
eth | eth_compileSerpent | - | For security reasons, we've decided not to include compilers in node. |
eth | eth_newFilter | YES | |
eth | eth_newBlockFilter | YES | |
eth | eth_newPendingTransactionFilter | YES | |
eth | eth_uninstallFilter | YES | |
eth | eth_getFilterChanges | YES | |
eth | eth_getFilterLogs | YES | |
eth | eth_getLogs | YES | |
eth | eth_bridgeState | YES | |
eth | eth_netHashrate | YES | |
db | db_putString | - | Deprecated |
db | db_getString | - | Deprecated |
db | db_putHex | - | Deprecated |
db | db_getHex | - | Deprecated |
debug | debug_traceTransaction | YES | |
debug | debug_traceBlockByHash | YES | |
debug | debug_wireProtocolQueueSize | YES | |
evm | evm_increaseTime | YES | |
evm | evm_mine | YES | |
evm | evm_reset | YES | |
evm | evm_revert | YES | |
evm | evm_snapshot | YES | |
evm | evm_startMining | YES | |
evm | evm_stopMining | YES | |
mnr | mnr_submitBitcoinBlock | YES | |
mnr | mnr_submitBitcoinBlockTransactions | YES | |
mnr | mnr_submitBitcoinBlockPartialMerkle | YES | |
mnr | mnr_getWork | YES | |
personal | personal_dumpRawKey | YES | |
personal | personal_importRawKey | YES | |
personal | personal_listAccounts | YES | |
personal | personal_lockAccount | YES | |
personal | personal_newAccountWithSeed | YES | |
personal | personal_newAccount | YES | |
personal | personal_sendTransaction | YES | |
personal | personal_unlockAccount | YES | |
rsk | rsk_getRawTransactionReceiptByHash | YES | |
rsk | rsk_getTransactionReceiptNodesByHash | YES | |
rsk | rsk_getRawBlockHeaderByHash | YES | |
rsk | rsk_getRawBlockHeaderByNumber | YES | |
rsk | rsk_protocolVersion | YES | |
trace | trace_transaction | YES | |
trace | trace_block | YES | |
trace | trace_filter | YES | |
txpool | txpool_content | YES | |
txpool | txpool_inspect | YES | |
txpool | txpool_status | YES | |
sco | sco_banAddress | YES | |
sco | sco_unbanAddress | YES | |
sco | sco_peerList | YES | |
sco | sco_bannedAddresses | YES | |
sco | sco_reputationSummary | YES | |
shh | shh_post | - | Whisper protocol not supported. |
shh | shh_version | - | Whisper protocol not supported. |
shh | shh_newIdentity | - | Whisper protocol not supported. |
shh | shh_hasIdentity | - | Whisper protocol not supported. |
shh | shh_newGroup | - | Whisper protocol not supported. |
shh | shh_addToGroup | - | Whisper protocol not supported. |
shh | shh_newFilter | - | Whisper protocol not supported. |
shh | shh_uninstallFilter | - | Whisper protocol not supported. |
shh | shh_getFilterChanges | - | Whisper protocol not supported. |
shh | shh_getMessages | - | Whisper protocol not supported. |
JSON RPC method details
These descriptions are taken from Ethereum's JSON RPC documentation.
web3_clientVersion
Returns the current client version.
Parameters
none
Returns
String
- The current client version.
Example
// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}'
// Result
{
"id":67,
"jsonrpc":"2.0",
"result": "Mist/v0.9.3/darwin/go1.4.1"
}
web3_sha3
Returns Keccak-256 (not the standardized SHA3-256) of the given data.
Parameters
DATA
- the data to convert into a SHA3 hash.