Skip to main content

Table Details

PropertyValue
Table Namestarknet.raw.traces
Table StatusProduction-Ready
Unique Keyblock_timestamp, trace_id
Clustering Key(s)to_date("block_timestamp")
Search Optimizationtransaction_hash, caller_address, contract_address

Table Columns

Column NameData TypeDescription
call_typeVARCHAR(16777216)The type of method such as call, delegatecall, staticcall. Learn more here.
caller_addressVARCHAR(16777216)The address of the account or contract that initiated this call.
class_hashVARCHAR(16777216)The hash of the contract class being called, if applicable.
contract_addressVARCHAR(16777216)The address of the contract being called.
entry_point_typeVARCHAR(16777216)The type of entry point (e.g., ‘EXTERNAL’, ‘CONSTRUCTOR’, ‘L1_HANDLER’).
entry_point_selectorVARCHAR(16777216)The selector of the entry point function being called.
calldataVARIANTThe calldata passed to this function call.
resultVARIANTThe return value of this function call.
messagesVARIANTArray of messages sent during this call.
eventsVARIANTArray of events emitted during this call.
trace_addressVARCHAR(16777216)The address of the trace within the call graph.
subtrace_countNUMBER(38,0)Number of subtraces (nested calls) within this trace.
storage_diff_countNUMBER(38,0)Number of storage changes made during this call.
is_revertedBOOLEANWhether this call was reverted.
revert_reasonVARCHAR(16777216)The reason for the revert, if applicable.
l1_data_gasNUMBER(38,0)The L1 data gas consumed by this call.
l1_gasNUMBER(38,0)The L1 gas consumed by this call.
l2_gasNUMBER(38,0)The L2 gas consumed by this call.
fee_transfer_invocationVARIANTData related to fee transfer invocation, if applicable.
validate_invocationVARIANTData related to validation invocation, if applicable.
constructor_invocationVARIANTData related to constructor invocation, if applicable.
function_invocationVARIANTData related to function invocation, if applicable.
state_diffVARIANTChanges to the state made during this call.
block_numberNUMBER(38,0)The length of the chain, in blocks.
block_timestampTIMESTAMP_NTZ(9)The time when the block that contains this trace was included on the blockchain.
block_hashVARCHAR(16777216)Unique identifier of the block that includes this trace.
transaction_hashVARCHAR(16777216)Unique identifier of the transaction that this trace belongs to.
transaction_indexNUMBER(38,0)The position of this transaction in the block that it belongs to. The first transaction has index 0.
transaction_typeVARCHAR(16777216)The type of transaction that contained this trace.
trace_idVARCHAR(16777216)Unique identifier for this trace. Generated by combining the trace_type, transaction_hash, and trace_address.
_created_atTIMESTAMP_NTZ(9)Timestamp of the entry creation.
_updated_atTIMESTAMP_NTZ(9)Timestamp of the entry update.