@eth-optimism/viem • Docs
@eth-optimism/viem / withdrawSuperchainWETH
withdrawSuperchainWETH<
chain
,account
,chainOverride
>(client
,parameters
):Promise
<WithdrawSuperchainWETHReturnType
>
Deposits ETH to the SuperchainWETH contract.
• chain extends undefined
| Chain
• account extends undefined
| Account
• chainOverride extends undefined
| Chain
= undefined
• client: Client
<Transport
, chain
, account
>
L2 Wallet Client
• parameters: WithdrawSuperchainWETHParameters
<chain
, account
, chainOverride
, DeriveChain
<chain
, chainOverride
>>
WithdrawSuperchainWETHParameters
Promise
<WithdrawSuperchainWETHReturnType
>
The withdrawSuperchainWETH transaction hash. WithdrawSuperchainWETHReturnType