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