Skip to main content

Amount

No description

type Amount {
value: String
currency: String!
timestamp: String
in(
currency: String!
): Amount!
}

Fields

Amount.value ● String scalar

Big decimal in string format

Amount.currency ● String! non-null scalar

could be the asset symbol or fiat currency

Amount.timestamp ● String scalar

Timestamp represents how stale the data is NOTE: timestamp is either the timestamp when the amount of the asset is queried or if converted from another currency the timestamp of the conversion rate used

Amount.in ● Amount! non-null object

convert the value to another currency NOTE: currently only supports asset -> fiat / assets -> assets

Amount.in.currency ● String! non-null scalar

Member Of

Amount object ● AssetBalance object ● Balance object ● BlockchainSubWallet object ● BlockchainTransaction object ● ExchangeTransaction object ● GenericTransaction object ● Portfolio object ● Transaction interface ● Transfer object