Starknet Data
DATA_TYPE_TRACE
Field | Type | Description |
---|---|---|
contract_address | string | The address of the contract being called. |
entry_point_selector | string | The selector of the entry point in the contract (function signature). |
calldata | string[] | An array of input data for the contract call. |
caller_address | string | The address of the caller. |
class_hash | string | The hash of the contract's bytecode. |
entry_point_type | string | The type of entry point (EXTERNAL , L1_HANDLER , CONSTRUCTOR ). |
call_type | string | The type of the contract call (CALL , LIBRARY_CALL ). |
result | string[] | An array representing the result of the call. |
calls | object[] | An array of calls made by the contract. |
events | event[] (see DATA_TYPE_LOG ) | An array of events emitted by the contract. |
DATA_TYPE_LOG
Field | Type | Description |
---|---|---|
from_address | string | The address of the contract that emitted the event. |
keys | string[] | Event keys (indexed by the chain). |
data | string[] | Event data. |
block_number | number | Number of block the event occurred in. |
block_hash | string | Hash of block event occurred in. |
transaction_hash | string | Hash of transaction event occurred in. |
DATA_TYPE_BLOCK
Field | Type | Description |
---|---|---|
parent_hash | string | The parent hash of the CVM header. |
sequencer_address | string | The address of the sequencer associated with the header. |
timestamp | number | The timestamp of the CVM header. |
block_number | number | The block number, only present for accepted blocks. |
new_root | string | The new root, only present for accepted blocks. |
status | string | The status of the block (PENDING , ACCEPTED_ON_L2 , ACCEPTED_ON_L1 , REJECTED ). |
status | string | The block hash, only present for accepted blocks. |
Updated 8 days ago