message
Enumerations
InboxMessageKind
Defined in: dataEntities/message.ts:50
The inbox message kind as defined in: https://github.com/OffchainLabs/nitro/blob/c7f3429e2456bf5ca296a49cec3bb437420bc2bb/contracts/src/libraries/MessageTypes.sol
Enumeration Members
| Enumeration Member | Value | Defined in |
|---|---|---|
L1MessageType_ethDeposit | 12 | dataEntities/message.ts:52 |
L1MessageType_submitRetryableTx | 9 | dataEntities/message.ts:51 |
L2MessageType_signedTx | 4 | dataEntities/message.ts:53 |
Interfaces
RetryableMessageParams
Defined in: dataEntities/message.ts:7
The components of a submit retryable message. Can be parsed from the events emitted from the Inbox.
Properties
callValueRefundAddress
callValueRefundAddress: string;
Defined in: dataEntities/message.ts:31
Address to credit l2Callvalue on L2 if retryable txn times out or gets cancelled
data
data: string;
Defined in: dataEntities/message.ts:43
Calldata for of the L2 message
destAddress
destAddress: string;
Defined in: dataEntities/message.ts:11
Destination address for L2 message
excessFeeRefundAddress
excessFeeRefundAddress: string;
Defined in: dataEntities/message.ts:27
L2 address address to credit (gaslimit x gasprice - execution cost)
gasLimit
gasLimit: BigNumber;
Defined in: dataEntities/message.ts:35
Max gas deducted from user's L2 balance to cover L2 execution
l1Value
l1Value: BigNumber;
Defined in: dataEntities/message.ts:19
Value sent at L1
l2CallValue
l2CallValue: BigNumber;
Defined in: dataEntities/message.ts:15
Call value in L2 message
maxFeePerGas
maxFeePerGas: BigNumber;
Defined in: dataEntities/message.ts:39
Gas price for L2 execution
maxSubmissionFee
maxSubmissionFee: BigNumber;
Defined in: dataEntities/message.ts:23
Max gas deducted from L2 balance to cover base submission fee