@eth-optimism/viem • Docs
@eth-optimism/viem / crossChainSendETH
crossChainSendETH<
chain
,account
,chainOverride
>(client
,parameters
):Promise
<CrossChainSendETHContractReturnType
>
Sends ETH to the specified recipient on the destination chain
• chain extends undefined
| Chain
• account extends undefined
| Account
• chainOverride extends undefined
| Chain
= undefined
• client: Client
<Transport
, chain
, account
>
L2 Wallet Client
• parameters: CrossChainSendETHParameters
<chain
, account
, chainOverride
, DeriveChain
<chain
, chainOverride
>>
Promise
<CrossChainSendETHContractReturnType
>
The crosschainSendETH transaction hash. CrossChainSendETHContractReturnType