@eth-optimism/viem • Docs
@eth-optimism/viem / SendL2ToL2MessageParameters
SendL2ToL2MessageParameters<
TChain
,TAccount
,TChainOverride
,TDerivedChain
>:BaseWriteContractActionParameters
<TChain
,TAccount
,TChainOverride
,TDerivedChain
> &object
destinationChainId:
number
Chain ID of the destination chain.
message:
Hex
Message payload to call target with.
target:
Address
Target contract or wallet address.
• TChain extends Chain
| undefined
= Chain
| undefined
• TAccount extends Account
| undefined
= Account
| undefined
• TChainOverride extends Chain
| undefined
= Chain
| undefined
• TDerivedChain extends Chain
| undefined
= DeriveChain
<TChain
, TChainOverride
>