ecosystem

@eth-optimism/viemDocs


@eth-optimism/viem / simulateDepositSuperchainWETH

simulateDepositSuperchainWETH()

simulateDepositSuperchainWETH<TChain, TAccount, TChainOverride>(client, parameters): Promise<DepositSuperchainWETHContractReturnType>

Simulate contract call for depositSuperchainWETH

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

DepositSuperchainWETHParameters

Returns

Promise<DepositSuperchainWETHContractReturnType>

The contract functions return value. depositSuperchainWETHContractReturnType

Defined in

packages/viem/src/actions/depositSuperchainWETH.ts:115