Messages

Contracts on L2 can interact asynchronously with contracts on L1 via the L2→L1 messaging protocol.

Table Columns

Column NameDescription

block_hash

Block hash of the block that this message belongs to.

block_number

Block number of the block that this message belongs to.

block_timestamp

Block timestamp of the block that this message belongs to.

transaction_hash

The transaction hash of the transaction that this message belongs to, as assigned in

StarkNet.

message_index

The index of the message in the transaction's messages array.

from_address

The address of the L2 contract sending the message.

to_address

The target L1 address the message is sent to.

payload

The payload of the message.

Last updated