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