ExchangeRate
Model getters
Method name | Return type | Description | Notes |
---|---|---|---|
getId() | string | FIAT or crypto asset. Example: BTC | |
getValue() | string | FIAT value of the asset in given base pair. Example: 1235.56 | |
getBasePair() | string | Base pair. Example: EUR | [default to ‘EUR’] |
getTimestamp() | float | Date of validity of rate in UTC. Example: 1572031674384 | |
getSource() | string | Source of base pair. Example: fixer.io |