ecosystem

@eth-optimism/viemDocs


@eth-optimism/viem / simulateWithdrawSuperchainWETH

simulateWithdrawSuperchainWETH()

simulateWithdrawSuperchainWETH<TChain, TAccount, TChainOverride>(client, parameters): Promise<WithdrawSuperchainWETHContractReturnType>

Simulate contract call for withdrawSuperchainWETH

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

WithdrawSuperchainWETHParameters

Returns

Promise<WithdrawSuperchainWETHContractReturnType>

The contract functions return value. withdrawSuperchainWETHContractReturnType

Defined in

packages/viem/src/actions/withdrawSuperchainWETH.ts:126