@eth-optimism/viem • Docs
@eth-optimism/viem / estimateWithdrawSuperchainWETHGas
estimateWithdrawSuperchainWETHGas<
TChain
,TAccount
,TChainOverride
>(client
,parameters
):Promise
<bigint
>
Estimates gas for withdrawSuperchainWETH
• TChain extends undefined
| Chain
• TAccount extends undefined
| Account
• TChainOverride extends undefined
| Chain
= undefined
• client: Client
<Transport
, TChain
, TAccount
>
L2 Wallet Client
• parameters: WithdrawSuperchainWETHParameters
<TChain
, TAccount
, TChainOverride
, DeriveChain
<TChain
, TChainOverride
>>
WithdrawSuperchainWETHParameters
Promise
<bigint
>
The estimated gas value.