Traces

Traces keep track of the actions that modify the internal state of the EVM.

Typically, trace_id for traces are unique, unless there are duplicate transactions on the blockchain.

Refer to Traces ID and Address for more information and examples.

Table Columns

The example used is a USDT Transfer Event to OKX.

Column NameDescriptionExample

transaction_hash

Unique identifier of the transaction that contains this trace.

0xc2a819147587c9ec17ebdfc7acf75c60c095d07450482f2578f35cf449990ee0

transaction_index

The position of this transaction in the block that it belongs to. The first transaction has index 0.

50

from_address

The address of the sending party of this trace.

0xc2132d05d31c914a87c6611c10748aeb04b58e8f

to_address

The address of the receiving party of this trace (null for contract creation).

0x7ffb3d637014488b63fb9858e279385685afc1e2

value

The amount of ether moved from the from_address to to_address.

input

The bytecode of the call that is made to another smart contract.

0xa9059cbb00000000000000000000000006959153b974d0d5fdfd87d561db6d8d4fa0bb0b000000000000000000000000000000000000000000000000000000003507b4e3

output

The bytecode answer the smart contract that was called gives back.

0x0000000000000000000000000000000000000000000000000000000000000001

trace_type

The value of the method such as call, create, create2, suicide.

call

call_type

The type of method such as call, delegatecall, staticcall. Learn more here.

delegatecall

reward_type

Populated when trace_type =reward. Possible values: block, uncle

gas

Gas provided with the trace call, in wei.

115,689

gas_used

The amount of gas consumed, in wei.

13,238

subtraces

Number of children traces.

0

trace_address

The address of the trace within the call graph. More detail to come soon.

0

error

Human readable developer error message. Examples: "Out of gas", "Reverted", "Bad instruction", "Bad jump destination"

status

Success status of the trace. Either 1 (success) or 0 (failure).

1

block_timestamp

The time when the block that contains this trace was included on the blockchain.

2023-06-24 05:50:04

block_number

The length of the chain, in blocks.

44,271,890

block_hash

Unique identifier of the block that includes this trace.

0xb61b3d40d37be1ef85348fce8d31414e4b7902a3e64df5f9c8152962024cff2f

trace_id

Unique identifier for this trace. Generated by combining the trace_type, transaction_hash and trace_address.

call_0xc2a819147587c9ec17ebdfc7acf75c60c095d07450482f2578f35cf449990ee0_0

selector

Selector of the txn.

0xa9059cbb

Last updated