Module: message/L1ToL2Message
Classes
Type Aliases
L1ToL2MessageReaderOrWriter
L1ToL2MessageReaderOrWriter<T
>: T
extends Provider
? L1ToL2MessageReader
: L1ToL2MessageWriter
Conditional type for Signer or Provider. If T is of type Provider then L1ToL2MessageReaderOrWriter<T> will be of type L1ToL2MessageReader. If T is of type Signer then L1ToL2MessageReaderOrWriter<T> will be of type L1ToL2MessageWriter.
Type parameters
Name | Type |
---|---|
T | extends SignerOrProvider |
Defined in
src/lib/message/L1ToL2Message.ts:87
L1ToL2MessageWaitResult
L1ToL2MessageWaitResult: { l2TxReceipt
: TransactionReceipt
; status
: L1ToL2MessageStatus.REDEEMED
} | { status
: Exclude
<L1ToL2MessageStatus
, L1ToL2MessageStatus.REDEEMED
> }
If the status is redeemed an l2TxReceipt is populated. For all other statuses l2TxReceipt is not populated