Currency
Provides detailed information about the currency model, including its fields like name, symbol, decimals, and country.
Last updated
Provides detailed information about the currency model, including its fields like name, symbol, decimals, and country.
Last updated
The currency model defines the structure of a currency entity, including key attributes like the currency's name, symbol, and ISO code. It also specifies how many decimal places are used for transactions, the country of origin, supported countries for usage, and the list of currencies supported for exchanges. This model ensures accurate representation and handling of currencies in financial transactions.
name
string
Full name of the currency (e.g., US Dollar, Euro).
currency
string
ISO code representing the currency (e.g., USD, EUR).
symbol
string
Currency symbol (e.g., $, €, ¥).
decimals
integer
Number of decimal places for the currency (e.g., 2 for USD).
country
string
Country of origin for the currency (ISO 3166 code).
supportedCountries
array[string]
List of countries where the currency can be legally operated.
supportedCurrencies
array[
]
List of currencies supported for exchanges.