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 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
The components of a submit retryable message. Can be parsed from the events emitted from the Inbox.
Properties
Property | Type | Description | Defined in |
---|---|---|---|
callValueRefundAddress | string | Address to credit l2Callvalue on L2 if retryable txn times out or gets cancelled | dataEntities/message.ts:31 |
data | string | Calldata for of the L2 message | dataEntities/message.ts:43 |
destAddress | string | Destination address for L2 message | dataEntities/message.ts:11 |
excessFeeRefundAddress | string | L2 address address to credit (gaslimit x gasprice - execution cost) | dataEntities/message.ts:27 |
gasLimit | BigNumber | Max gas deducted from user's L2 balance to cover L2 execution | dataEntities/message.ts:35 |
l1Value | BigNumber | Value sent at L1 | dataEntities/message.ts:19 |
l2CallValue | BigNumber | Call value in L2 message | dataEntities/message.ts:15 |
maxFeePerGas | BigNumber | Gas price for L2 execution | dataEntities/message.ts:39 |
maxSubmissionFee | BigNumber | Max gas deducted from L2 balance to cover base submission fee | dataEntities/message.ts:23 |