Currency
Currency
Currency schema defines a currency, fiat or crypto, as well as the data needed for working with them.
| Key | Description | Type | Example |
|---|---|---|---|
| type | Currency nature | string | fiat or crypto |
| name | Currency human-readable name | string | Bitcoin, Real |
| symbol | Currency symbol | string | R$, ₿ |
| code | Currency ISO-4217 or alike code | string | BRL, BTC. See remark #1. |
| separator | Currency thousand separator | string | , |
| decimal | Currency decimal separator | string | . |
| precision | Currency precision (number of places after comma) | integer | 2, 8 |
Remarks
1. Currency codes
You can get a list of currencies by requesting Static > Get Currencies endpoint (read more on its documentation).
Updated 9 months ago