Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 1.34 KB

sendSuperchainWETH.md

File metadata and controls

39 lines (20 loc) · 1.34 KB

@eth-optimism/viemDocs


@eth-optimism/viem / sendSuperchainWETH

sendSuperchainWETH()

sendSuperchainWETH<chain, account, chainOverride>(client, parameters): Promise<SendSupERC20ReturnType>

Sends SuperchainWETH to a target address on another chain. Used in the interop flow.

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: SendSuperchainWETHParameters<chain, account, chainOverride, DeriveChain<chain, chainOverride>>

SendSuperchainWETHParameters

Returns

Promise<SendSupERC20ReturnType>

The sendSuperchainWETH transaction hash. SendSupERC20ReturnType

Defined in

packages/viem/src/actions/sendSuperchainWETH.ts:53