Ethereum

The Apollo Blockchain Node Proxy supports a range of Ethereum JSON-RPC API methods. Each supported API call comes with a brief description of its function.

JSON-RPC batch requests aren't supported

If your HTTP response exceeds 5.9 MB in size, an error will be triggered.

MethodDescription

Returns the full stack trace of all the invoked opcodes for all the transactions that were included in the block provided as a parameter in RLP format.

Returns the full stack trace of all the transactions that were included in a specified block by its hash.

Returns the full stack trace of all the transactions that were included in the specified block number.

Returns the full stack trace after running an eth_call within the context of the given block execution. The method is also used to simulate the outcomes of transactions and supports custom tracers.

Attempts to return all traces for a given transaction.

Returns the number of the most recent block.

Immediately runs a new message call without creating a transaction on the blockchain.

eth_chainId

Returns an integer value for the currently configured Chain Id value that's introduced in EIP-155. Returns None if no Chain Id is available.

eth_createAccessList

This method creates an EIP2930 type accessList based on a given Transaction. The accessList contains all the storage slots and addresses read and written by the transaction, except for the sender account and the precompiles. This method uses the same transaction call object and blockNumberOrTag object as eth_call.

Estimates and returns the gas that's required for a transaction without adding the transaction to the blockchain.

eth_feeHistory

Returns a collection of historical gas information.

Returns the current price per gas in Wei.

Returns the balance of an account for the specified account address and block identifier.

Returns information about the block specified using the block hash.

Returns information about the block specified using the block number.

Returns the number of transactions in the block specified using the block hash.

Returns the number of transactions in the block specified using the block number.

Returns the code at the specified account address and block identifier.

Polls the specified filter ID, retuning an array of logs that occurred since the last poll.

Returns an array of all logs for the specified filter ID.

Returns an array of all logs for a specified filter object.

eth_getProof

Experimental – Returns the account and storage values of the specified account, including the Merkle proof.

Returns the value of the specified storage position for the specified account address and block identifier.

Returns information about a transaction using the specified block hash and transaction index position.

Returns information about a transaction using the specified block number and transaction index position.

Returns information about the transaction with the specified transaction hash.

Returns the number of transactions sent from the specified address and block identifier.

Returns the receipt of the transaction using the specified transaction hash.

Returns information about the uncle block specified using the block hash and uncle index position.

Returns information about the uncle block specified using the block number and uncle index position.

Returns the number of counts in the uncle specified using the uncle hash.

Returns the number of counts in the uncle specified using the uncle number.

Returns the hash of the current block, the seedHash, and the boundary condition (also called the "target") to be met.

eth_maxPriorityFeePerGas

Returns the fee per gas that's an estimate of how much you can pay as a priority fee, or "tip," to get a transaction included in the current block.

Creates a filter in the node to notify when a new block arrives. Use eth_getFilterChanges to check for state changes.

Creates a filter object with the specified filter options (such as from block, to block, contract address, or topics).

Creates a filter in the node to notify when new pending transactions arrive. Use eth_getFilterChanges to check for state changes.

Returns the current Ethereum protocol version.

Creates a new message call transaction or a contract creation for signed transactions.

Returns an object with sync status data or false when not syncing.

Uninstalls the filter with the specified filter ID.

Returns true if the client is actively listening for network connections.

Returns the number of peers currently connected to the client.

Returns the current network ID.

Lists a textual summary of all the transactions that are currently pending inclusion in the next blocks, and those that are queued (being scheduled for future execution only).

Provides a count of all transactions currently pending inclusion in the next blocks, and those that are queued (being scheduled for future execution only).

Returns the current client version.

Returns Keccak-256 (not the standardized SHA3-256) of the given data.

The above documentation descriptions were inspired by content from Amazon.

Last updated