Virtual Currencies
Use off-chain Virtual Currency to enable support for fiat and custom off-chain tokens.
Deploy new Virtual Currency
echo 'Issue new virtual currency named MY_USD'
curl --location --request POST 'https://api.orangepill.cloud/v1/currencies \
--header 'x-api-key: AXVubzpwQDU1dzByYM==' \
--header 'idempotency-key: 27373fabc392933deffdb' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "MY_USD",
"supply": "1000",
"base": "USD",
"rate": "1",
"currency": "USD"
"symbol":"$",
"symbol_url":"https://my-cdn.com/my-dollar-sign.svg",
"sub_unit": ["cent", "cents"],
}'Issue new supply
Destroy a supply
Last updated