Currency
Definition of currency
type Currency {
code: String!
rate: Float!
prefix: String
suffix: String
}
Fields
code ● String!
The code of the currency, for example USD for Us dollar
rate ● Float!
Currency rate compared to base currency, for example 11.3555 USD vs SEK
prefix ● String
Currency prefix, for example $ for USD
suffix ● String
Currency suffix, for example kr for SEK
Example
{
"code": "USD",
"rate": 11.355,
"prefix": "$"
}