Ethereum
Ethereum endpoints
Last updated
Ethereum endpoints
Last updated
Ethereum JSON-RPC methods share the same endpoint, by protocol definition, the payload method
parameter is the one used to know which method is the one to be called. To call this methods, is mandatory to specify the currency, eth
in this case and the network in which to executed the request. Bitcoin JSON-RPC methods are exposed in the following endpoint http://server/eth/{network}/rpc
where network has to be replace by the network name in which make the request
Return the balance of any address
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getAddressBalance
getAddressBalance
Successful response
Return the balance of an array of addresses
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getAddressesBalance
getAddressesBalance
Successful response
Returns latest block hash and index
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getHeight
getHeight
Successful response
Returns the current price per gas in wei.
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getGasPrice
getGasPrice
Successful response
Returns True if blocks are syncing and returns False if theres no synchronization or is fully sychronize
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be syncing
syncing
Successful response
Broadcast a transaction to the network
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be broadcastTransaction
broadcastTransaction
Successful response
The transaction will not be added to the blockchain. Note that the estimate may be significantly more than the amount of gas actually used by the transaction, for a variety of reasons including EVM mechanics and node performance.
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be estimateGas
estimateGas
Successful response
Returns the information of any block giving its hash
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getBlockByHash
getBlockByHash
Successful response
Returns the information of any block giving its height
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getBlockByNumber
getBlockByNumber
Returns the number of success/pending transactions of any address
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getAddressTransactionCount
getAddressTransactionCount
Returns the number of success/pending transactions of an array of any address
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getAddressesTransactionCount
getAddressesTransactionCount
Returns the receipt of a transaction by transaction hash
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getTransactionReceipt
getTransactionReceipt
Returns the transaction info given its hash
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getTransaction
getTransaction
Returns the transactions info given an array of transaction hashes
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getTransaction
getTransaction
Executes a new message call immediately without creating a transaction on the block chain
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be call
call
Get transaction history of aaddresses
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getAddressHistory
getAddressHistory
Get transaction history of an array of addresses
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be getAddressesHistory
getAddressesHistory
Returns the status of the transaction indexing process.
Request ID
160907
JSON-RPC Version
2.0
Method name to be called. For this operation, the field value must be indexing
indexing