Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 1.42 KB

simulateCrossChainSendETH.md

File metadata and controls

39 lines (20 loc) · 1.42 KB

@eth-optimism/viemDocs


@eth-optimism/viem / simulateCrossChainSendETH

simulateCrossChainSendETH()

simulateCrossChainSendETH<TChain, TAccount, TChainOverride>(client, parameters): Promise<CrossChainSendETHContractReturnType>

Simulate contract call for crossChainSendETH

Type Parameters

TChain extends undefined | Chain

TAccount extends undefined | Account

TChainOverride extends undefined | Chain = undefined

Parameters

client: Client<Transport, TChain, TAccount>

L2 Public Client

parameters: CrossChainSendETHParameters<TChain, TAccount, TChainOverride, DeriveChain<TChain, TChainOverride>>

CrossChainSendETHParameters

Returns

Promise<CrossChainSendETHContractReturnType>

The contract functions return value. CrossChainSendETHContractReturnType

Defined in

packages/viem/src/actions/crosschainSendETH.ts:122