docs
  • Introduction
  • Getting started
    • Meet the network using CLI
    • Your first transaction
    • Run smart contract
    • Run your own node
    • Ledger Support
  • Architecture
    • Dnode
    • Dncli
    • XFI & Other coins
    • Fees & Gas
    • Addresses
  • Staking
    • Delegate sXFI & LPT
    • Become a validator
    • Rewards & Inflation
    • Slashing
    • More
  • Move VM
    • Modules
    • Scripts
    • Script Arguments
    • Standard Library
    • Events
    • Resources
    • Move Book
    • More
  • Oracles
    • Query Price
  • PegZone
    • Deposit
    • Usage
    • Withdraw
  • Useful Resources
    • Dfinance Website
    • Wallet
    • Move Book
    • Block Explorer
    • Swagger UI
    • Community
    • VSCode Move IDE
Powered by GitBook
On this page

Was this helpful?

  1. PegZone

Withdraw

You can withdraw your coins/tokens from dfinance back to the chain from which these coins/tokens arrived.

To withdraw your coins/tokens from PegZone you need to send only one transaction with dncli:

dncli tx currencies destroy-currency [chainID] [symbol] [amount] [recipient] [flags]

In the case of Ethereum, chainID will be ETH, and symbol also ETH, recipient is your address in Ethereum network (e.g. 0x01849...).

PreviousUsage

Last updated 4 years ago

Was this helpful?