web3_clientVersion
Returns the current client version. Parameters- None
result
(string): The current client version.
web3_sha3
Returns Keccak-256 (not the standardized SHA3-256) of the given data. Parametersdata
(string): The data in hexadecimal form to convert into a SHA3 hash.
result
(string): The SHA3 result of the given string.
net_version
Returns the current network id. Parameters- None
result
(string): The current network id.
net_listening
Returnstrue
if client is actively listening for network connections.
Parameters
- None
result
(boolean):true
when listening, otherwisefalse
.
eth_chainId
Returns the chain ID used for signing replay-protected transactions. Parameters- None
result
(string): Hexadecimal value as a string representing the integer of the current chain id.
eth_blockNumber
Returns the number of most recent block. Parameters- None
result
(string): The number of the most recent block.
eth_getBalance
Returns the balance of the account of given address. Parametersaddress
(string): The address to check for balance.QUANTITY|TAG
(string): An integer block number, or the string “latest”/“earliest”.
result
(string): An integer of the current balance in wei (hex string).
eth_getStorageAt
Returns the value from a storage position at a given address. Parametersaddress
(string): The address of the storage.position
(string): The position in the storage.QUANTITY|TAG
(string): An integer block number, or the string “latest”/“earliest”.
result
(string): The value at the given storage position.
eth_getTransactionCount
Returns the number of transactions sent from an address. Parametersaddress
(string): The address to check for transaction count.QUANTITY|TAG
(string): An integer block number, or the string “latest”/“earliest”.
result
(string): The number of transactions sent from the given address.
eth_getBlockTransactionCountByHash
Returns the number of transactions in a block from a block matching the given block hash. ParametersblockHash
(string): The hash of the block.
result
(string): The number of transactions in the block.
eth_getBlockTransactionCountByNumber
Returns the number of transactions in a block matching the given block number. ParametersblockNumber
(string): The block number.
result
(string): The number of transactions in the block.
eth_signTransaction
Returns a signed transaction. Parameterstransaction
(object): The transaction to sign.
result
(string): The signed transaction.
eth_sendTransaction
Sends a transaction to the network. Parameterstransaction
(object): The transaction to send.
result
(string): The transaction hash.
eth_sendRawTransaction
Sends a raw transaction to the network. ParametersrawTransaction
(string): The raw transaction data.
result
(string): The transaction hash.
eth_subscribe
Subscribes to a new block header or a new pending transaction. ParameterssubscriptionType
(string): The type of subscription (“newHeads” or “newPendingTransactions”).
result
(string): The subscription ID.
eth_estimateGas
Returns an estimate of how much gas is necessary to allow a transaction to complete. Parameterstransaction
(object): The transaction to estimate gas for.
result
(string): The estimated gas.
eth_getBlockByHash
Returns information about a block by hash. ParametersblockHash
(string): The hash of the block.
result
(object): Block information object.
eth_getBlockByNumber
Returns information about a block by number. ParametersblockNumber
(string): The block number.
result
(object): Block information object.
eth_getTransactionByHash
Returns the information about a transaction requested by transaction hash. ParameterstxHash
(string): The hash of a transaction.
result
(object): Transaction details object.
eth_getTransactionReceipt
Returns the receipt of a transaction by transaction hash. ParameterstxHash
(string): The hash of the transaction.
result
(object): Transaction receipt object.