Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 1.2 KB

estimateWithdrawSuperchainWETHGas.md

File metadata and controls

39 lines (20 loc) · 1.2 KB

@eth-optimism/viemDocs


@eth-optimism/viem / estimateWithdrawSuperchainWETHGas

estimateWithdrawSuperchainWETHGas()

estimateWithdrawSuperchainWETHGas<TChain, TAccount, TChainOverride>(client, parameters): Promise<bigint>

Estimates gas for withdrawSuperchainWETH

Type Parameters

TChain extends undefined | Chain

TAccount extends undefined | Account

TChainOverride extends undefined | Chain = undefined

Parameters

client: Client<Transport, TChain, TAccount>

L2 Wallet Client

parameters: WithdrawSuperchainWETHParameters<TChain, TAccount, TChainOverride, DeriveChain<TChain, TChainOverride>>

WithdrawSuperchainWETHParameters

Returns

Promise<bigint>

The estimated gas value.

Defined in

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