Fiat Reference Rates
Fiat Reference Rates: Agent Java SDK v0.3.0 integration, examples, parameters and response semantics.
This guide targets Agent Java SDK v0.3.0, Java 8+, and the tagged public contract. Examples run in a partner backend after initializing client in Quick Start.
Example prerequisites
The Java snippets share these imports. Initialize client using Quick Start and obtain platformUserId from the saved binding. Example user/order IDs must be replaced with your own persisted values.
FX Reference Rates
Both FX methods use the normal signed Agent API flow. Start by discovering the currently supported source currencies:
Query all supported fiat-to-USDT reference rates:
Query selected currencies:
The request factory trims and uppercases currency codes and serializes them as
the comma-separated sourceCurrencies value required by the API. Omitting the
request or all effective currency values queries every supported currency.
These values are references for a partner multi-currency wallet to calculate
the USDT amount sent to 6MM. They are not executable prices, locked quotes, or
real-time USDT market prices. Use BigDecimal and strings for amount
calculations; do not use double or float.