@eth-optimism/viem • Docs
@eth-optimism/viem / simulateSendL2ToL2Message
simulateSendL2ToL2Message<
TChain
,TAccount
,TChainOverride
>(client
,parameters
):Promise
<SendL2ToL2MessageContractReturnType
>
Simulate contract call for sendL2ToL2Message
• TChain extends undefined
| Chain
• TAccount extends undefined
| Account
• TChainOverride extends undefined
| Chain
= undefined
• client: Client
<Transport
, TChain
, TAccount
>
L2 Public Client
• parameters: SendL2ToL2MessageParameters
<TChain
, TAccount
, TChainOverride
, DeriveChain
<TChain
, TChainOverride
>>
Promise
<SendL2ToL2MessageContractReturnType
>
The contract functions return value. SendL2ToL2MessageContractReturnType