Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 1.38 KB

crossChainSendETH.md

File metadata and controls

39 lines (20 loc) · 1.38 KB

@eth-optimism/viemDocs


@eth-optimism/viem / crossChainSendETH

crossChainSendETH()

crossChainSendETH<chain, account, chainOverride>(client, parameters): Promise<CrossChainSendETHContractReturnType>

Sends ETH to the specified recipient on the destination chain

Type Parameters

chain extends undefined | Chain

account extends undefined | Account

chainOverride extends undefined | Chain = undefined

Parameters

client: Client<Transport, chain, account>

L2 Wallet Client

parameters: CrossChainSendETHParameters<chain, account, chainOverride, DeriveChain<chain, chainOverride>>

CrossChainSendETHParameters

Returns

Promise<CrossChainSendETHContractReturnType>

The crosschainSendETH transaction hash. CrossChainSendETHContractReturnType

Defined in

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