@eth-optimism/viem • Docs
@eth-optimism/viem / relayL2ToL2Message
relayL2ToL2Message<
TChain
,TAccount
,TChainOverride
>(client
,parameters
):Promise
<RelayL2ToL2MessageReturnType
>
Relays a message emitted by the L2ToL2CrossDomainMessenger
• TChain extends undefined
| Chain
• TAccount extends undefined
| Account
• TChainOverride extends undefined
| Chain
= undefined
• client: Client
<Transport
, TChain
, TAccount
>
Client to use
• parameters: RelayL2ToL2MessageParameters
<TChain
, TAccount
, TChainOverride
, DeriveChain
<TChain
, TChainOverride
>>
Promise
<RelayL2ToL2MessageReturnType
>
The relayMessage transaction hash. RelayL2ToL2MessageReturnType