Skip to main content

message

Enumerations

InboxMessageKind

The inbox message kind as defined in: https://github.com/OffchainLabs/nitro/blob/c7f3429e2456bf5ca296a49cec3bb437420bc2bb/contracts/src/libraries/MessageTypes.sol

Enumeration Members

Enumeration MemberValue
L1MessageType_ethDeposit12
L1MessageType_submitRetryableTx9
L2MessageType_signedTx4

Interfaces

RetryableMessageParams

The components of a submit retryable message. Can be parsed from the events emitted from the Inbox.

Properties

PropertyTypeDescription
callValueRefundAddressstringAddress to credit l2Callvalue on L2 if retryable txn times out or gets cancelled
datastringCalldata for of the L2 message
destAddressstringDestination address for L2 message
excessFeeRefundAddressstringL2 address address to credit (gaslimit x gasprice - execution cost)
gasLimitBigNumberMax gas deducted from user's L2 balance to cover L2 execution
l1ValueBigNumberValue sent at L1
l2CallValueBigNumberCall value in L2 message
maxFeePerGasBigNumberGas price for L2 execution
maxSubmissionFeeBigNumberMax gas deducted from L2 balance to cover base submission fee