ExchangeRate
The current exchange rate between two currencies.
type ExchangeRate {
createdAt: DateTime!
fromCurrency: String!
id: ID!
inverseRate: Float
lastUpdated: DateTime!
rate: Float!
source: String
toCurrency: String!
updatedAt: DateTime!
}
Fields
ExchangeRate.createdAt ● DateTime! non-null scalar
When the record was created.
ExchangeRate.fromCurrency ● String! non-null scalar
The currency being converted from.
ExchangeRate.id ● ID! non-null scalar
The unique ID of this record.
ExchangeRate.inverseRate ● Float scalar
The rate the other way round.
ExchangeRate.lastUpdated ● DateTime! non-null scalar
When the rate was last updated.
ExchangeRate.rate ● Float! non-null scalar
How much of the target currency one unit of the source is worth.
ExchangeRate.source ● String scalar
Where the rate came from.
ExchangeRate.toCurrency ● String! non-null scalar
The currency being converted to.
ExchangeRate.updatedAt ● DateTime! non-null scalar
When the record was last changed.
Returned By
exchangeRate query ● exchangeRates query