Get exchange rate between price-stable credit and VELO

Parameters

You don't need to be a trusted partner to check exchange rates.

Name

Description

Required?

Validation

assetCode

The asset code of price-stable credit that you want to get exchange rate for.

Yes

  • Already been setup

  • Correct format (1-7 alphanumeric characters)

issuer

The issuing account of the asset code that you want to get exchange rate.

Yes

  • Stellar public address format

CLI
CLI
$ gvel credit get-exchange
Please input asset code of the stable credit: vTHB
Please input issuing account of the stable credit: GA....
💖 Getting exchange rate
You will get 10 VELO for 1 vTHB.

What's next?

When you know the exchange rate, you will also know how much the stable credit you have is worth. Next let's try exchanging the stable credit back to VELO token.