Anchor for EVM Developers
  • Anchor for EVM Developers
  • Program Address
  • Functions
  • Token
  • Validation
  • Mutation
  • Calling Other Contract
  • Wrap Native Token
  • Unwrap To Native Token
  • Transfer Native Token
  • Transfer Fungible Token
  • Deploy A Fungible Token
  • Access Control
  • Address Mining
  • Events
  • Block Timestamp
  • Forking Mainnet
  • Function Selector
  • Feature Flags
  • Feature Dependencies
  • Migration / Scripts
  • Upgrade Programs
  • Verifying A Contract
  • Destroying A Contract
  • Reclaiming Rent From A Token Account
Powered by GitBook
On this page

Unwrap To Native Token

PreviousWrap Native TokenNextTransfer Native Token

Last updated 2 months ago

CtrlK

EVM

IWETH(WETH).withdraw(amount);

Solana

wSOL can be unwrapped to SOL by closing the wSOL token account with destination set to the owner of the ATA.

A Complete Guide to Wrapping, Transferring, and Unwrapping SOL on Solana | QuickNode Guides
Logo