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 MemberValueDefined in
L1MessageType_ethDeposit12dataEntities/message.ts:52
L1MessageType_submitRetryableTx9dataEntities/message.ts:51
L2MessageType_signedTx4dataEntities/message.ts:53

Interfaces

RetryableMessageParams

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

Properties

PropertyTypeDescriptionDefined in
callValueRefundAddressstringAddress to credit l2Callvalue on L2 if retryable txn times out or gets cancelleddataEntities/message.ts:31
datastringCalldata for of the L2 messagedataEntities/message.ts:43
destAddressstringDestination address for L2 messagedataEntities/message.ts:11
excessFeeRefundAddressstringL2 address address to credit (gaslimit x gasprice - execution cost)dataEntities/message.ts:27
gasLimitBigNumberMax gas deducted from user's L2 balance to cover L2 executiondataEntities/message.ts:35
l1ValueBigNumberValue sent at L1dataEntities/message.ts:19
l2CallValueBigNumberCall value in L2 messagedataEntities/message.ts:15
maxFeePerGasBigNumberGas price for L2 executiondataEntities/message.ts:39
maxSubmissionFeeBigNumberMax gas deducted from L2 balance to cover base submission feedataEntities/message.ts:23