API Info

web3_clientVersion

Returns the current client version.
{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}
send

web3_sha3

Returns Keccak-256 (not the standardized SHA3-256) of the given data.
{"jsonrpc":"2.0","method":"web3_sha3","params":["0x68656c6c6f20776f726c64"],"id":64}
send

net_version

Returns the current network id.
{"jsonrpc":"2.0","method":"net_version","params":[],"id":193}
send

net_peerCount

Returns number of peers currently connected to the client.
{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":193}
send

net_listening

Returns true if client is actively listening for network connections.
{"jsonrpc":"2.0","method":"net_listening","params":[],"id":193}
send

eth_syncing

Returns an object with data about the sync status or false.
{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":193}
send

eth_coinbase

Returns the client coinbase address.
{"jsonrpc":"2.0","method":"eth_coinbase","params":[],"id":193}
send

eth_gasPrice

Returns the current price per gas in wei.
{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":193}
send

eth_accounts

Returns a list of addresses owned by client.
{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":193}
send

eth_blockNumber

Returns the number of most recent block.
{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":193}
send

eth_getBalance

Returns the balance of the account of given address.
{"jsonrpc":"2.0","method":"eth_getBalance","params":["0x407d73d8a49eeb85d32cf465507dd71d507100c1", "latest"],"id":193}
send

eth_getTransactionCount

Returns the number of transactions sent from an address.
{"jsonrpc":"2.0","method":"eth_getTransactionCount","params":["0xfe4dc9501fbc73d49da08de177b523ab410d6c33","latest"],"id":193}
send

eth_getBlockTransactionCountByHash

Returns the number of transactions in a block from a block matching the given block hash.
{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByHash","params":["0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"],"id":1}
send

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block matching the given block number.
{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByNumber","params":["0xe8"],"id":193}
send

eth_getUncleCountByBlockHash

Returns the number of uncles in a block from a block matching the given block hash.
{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockHash","params":["0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"],"id":1}
send

eth_getCode

Returns code at a given address.
{"jsonrpc":"2.0","method":"eth_getCode","params":["0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "0x2"],"id":1}
send