Supported API methods
The full list of API methods that are supported by an Ethereum Gateway
is given below. The gateway returns a 403
if a method is specified that is not
supported.
For a full list of JSON-RPC API methods, refer to the JSON-RPC specification ↗.
EVM traces are a way to track the execution of smart contracts on the Ethereum blockchain. It records all the steps taken by the Ethereum Virtual Machine (EVM) as it runs the smart contract. This includes information like the specific operation that was executed, how much gas it cost, and any changes made to the blockchain as a result. The trace module is a tool that allows developers to access and analyze these traces, which can be useful for debugging, testing, and monitoring smart contracts. It can be used to identify and fix errors, optimize performance, and gain insight into how the smart contract is interacting with the blockchain.
The trace_filter
method retrieves the traces of multiple transactions in a single request. This method is particularly useful for debugging and monitoring specific addresses on the Ethereum blockchain.
fromBlock
:Quantity
orTag
- (optional) The block number to start receiving traces from.toBlock
:Quantity
orTag
- (optional) The block number to stop receiving traces at.fromAddress
:Array
- (optional) An array of addresses to start receiving traces from.toAddress
:Address
- (optional) An array of addresses to stop retrieving traces at.after
:Quantity
- (optional) The offset trace numbercount
:Quantity
- (optional) The amount of traces to return.
This method returns an Array
of traces matching the given filter.
The trace_filter
method has some limitations to ensure that our nodes are not overloaded.
- The block range for the
trace_filter
method is limited to 800 blocks. - The trace
count
is limited to 200