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