/nanoreth to your HyperLiquid endpoint URL. Debug and Trace methods are not supported on /evm endpoints. Use /nanoreth instead of /evm to access tracing functionality.Parameters
The block number as a string in hexadecimal format or tags. The supported tag values include latest for the latest mined block, pending for the pending state/transactions, safe for the most recent secure block, and finalized for the most recent secure block accepted by more than 2/3 of validators
Returns
The block traces, which have the following fields (please note that all return types are hexadecimal representations of their data type unless otherwise stated):
The ParityTrace object, which has the following fields:
The address of the sender
The type of method such as call, delegatecall
The gas provided by the sender, encoded as hexadecimal
The data sent along with the transaction
The address of the receiver
The integer of the value sent with this transaction, encoded as hexadecimal
The hash of the block where this transaction was in
An integer value representing the block number where this transaction was in
(Optional) The error message, if any
The ParityTraceResult object which has the following fields:
The amount of gas used by this specific transaction alone
The value returned by the contract call, and it only contains the actual value sent by the RETURN method. If the RETURN method was not executed, the output is empty bytes
The number of traces of contract calls made by the transaction
The list of addresses where the call executed, the address of the parents and the order of the current sub call
The hash of the transaction
The transaction position
The value of the method such as call or create