Velo-Protocol
Search…
⌃K

Redeeming stable credit

Parameters

Name
Description
Required?
Validation
assetCode
The asset code of price-stable credit that you want to redeem.
Yes
  • Already been setup
  • Correct format (1-7 alphanumeric characters)
issuer
The issuing account of the stable credit to be redeem.
Yes
  • Stellar account format
  • Issuing account of stable credit created in Velo system
amount
The amount of stable credit you which to exchange into VELO token.
Yes
  • Must be a positive number greater than 0 and has less than or equal to 7 decimal places
CLI
$ gvel credit redeem
Please input amount of stable credit: 1000
Please input asset code of credit to be redeemed : vTHB
🔑 Please input passphrase: ****
💖 Redeeming vTHB
Redeem successfully. You got XX VELO.
🔗 txHash is ${txHash}

What's next?

You have now completed the flow of stable credit. Let's take a look at the price stablisation mechanism.