ecosystem

@eth-optimism/viemDocs


@eth-optimism/viem / simulateSendSuperchainWETH

simulateSendSuperchainWETH()

simulateSendSuperchainWETH<TChain, TAccount, TChainOverride>(client, parameters): Promise<SendSupERC20ContractReturnType>

Simulate contract call for sendSuperchainWETH

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: SendSuperchainWETHParameters<TChain, TAccount, TChainOverride, DeriveChain<TChain, TChainOverride>>

SendSuperchainWETHParameters

Returns

Promise<SendSupERC20ContractReturnType>

The contract functions return value. SendSupERC20ContractReturnType

Defined in

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