Skip to main content

Table Details

PropertyValue
Table Namestarknet.raw.transactions
Table StatusProduction-Ready
Unique Keyblock_timestamp, hash
Clustering Key(s)to_date("block_timestamp")
Search Optimizationhash, block_number, sender_address

Table Columns

Column NameData TypeDescription
hashVARCHAR(16777216)Unique identifier of a transaction.
transaction_indexNUMBER(38,0)The position of this transaction in the block that it belongs to. The first transaction has index 0.
sender_addressVARCHAR(16777216)The address of the account that sent the transaction.
nonceNUMBER(38,0)The transaction nonce, unique to the wallet
typeVARCHAR(16777216)The type of transaction
execution_statusVARCHAR(16777216)The execution status of the transaction
finality_statusVARCHAR(16777216)The finality status of the transaction
messages_sentVARIANTArray of messages sent by this transaction.
revert_reasonVARCHAR(16777216)The reason for transaction revert, if applicable.
receipt_typeVARCHAR(16777216)The type of transaction receipt.
account_deployment_dataVARIANTData related to account deployment, if this is a deploy transaction.
calldataVARIANTThe calldata passed to the transaction.
paymaster_dataVARIANTData related to paymaster functionality, if used.
actual_fee_amountNUMBER(38,0)The actual fee amount paid for the transaction.
actual_fee_unitVARCHAR(16777216)The unit of the actual fee (e.g., ‘WEI’, ‘FRI’).
receipt_l1_data_gasNUMBER(38,0)The L1 data gas consumed by this transaction.
receipt_l1_gasNUMBER(38,0)The L1 gas consumed by this transaction.
receipt_l2_gasNUMBER(38,0)The L2 gas consumed by this transaction.
max_feeNUMBER(38,0)The maximum fee the sender is willing to pay.
l1_data_gas_max_amountNUMBER(38,0)The maximum L1 data gas amount the sender is willing to consume.
l1_data_gas_max_price_per_unitNUMBER(38,0)The maximum price per unit for L1 data gas.
l1_gas_max_amountNUMBER(38,0)The maximum L1 gas amount the sender is willing to consume.
l1_gas_max_price_per_unitNUMBER(38,0)The maximum price per unit for L1 gas.
l2_gas_max_amountNUMBER(38,0)The maximum L2 gas amount the sender is willing to consume.
l2_gas_max_price_per_unitNUMBER(38,0)The maximum price per unit for L2 gas.
signatureVARIANTThe cryptographic signature authorizing the transaction, format varies based on the account type (EOA vs smart contract wallet).
tipNUMBER(38,0)The tip amount paid to the sequencer.
fee_data_availability_modeVARCHAR(16777216)The data availability mode for fee payment.
nonce_data_availability_modeVARCHAR(16777216)The data availability mode for nonce.
class_hashVARCHAR(16777216)The hash of the contract class being declared or deployed.
contract_addressVARCHAR(16777216)The address of the deployed contract, if applicable.
contract_address_saltVARCHAR(16777216)The salt used for contract address calculation.
constructor_calldataVARIANTThe calldata passed to the constructor during deployment.
entry_point_selectorVARCHAR(16777216)The entry point selector for the function being called.
compiled_class_hashVARCHAR(16777216)The hash of the compiled contract class.
versionNUMBER(38,0)The transaction version.
event_countNUMBER(38,0)Number of events emitted by this transaction.
l1_message_countNUMBER(38,0)Number of L1 messages sent by this transaction.
l2_message_countNUMBER(38,0)Number of L2 messages sent by this transaction.
block_hashVARCHAR(16777216)Unique identifier of the block that includes this transaction.
block_numberNUMBER(38,0)The length of the chain, in blocks.
block_timestampTIMESTAMP_NTZ(9)The time when the block that contains this transaction was included on the blockchain.
_created_atTIMESTAMP_NTZ(9)Timestamp of the entry creation.
_updated_atTIMESTAMP_NTZ(9)Timestamp of the entry update.