Your current rate of TRX to the currency of your contract
How much one TRX is worth in the currency of your contract right now. Every account has its own contract currency, so the pair and the rate are your own. The rate at the moment of at, for comparison with your records; a recorded charge keeps the rate of its own time. Requires the billing.read key permission and a postpaid account.
Authorizations
API key from the dashboard. Some Host Mode endpoints also accept the key as an api_key field in the request body — this is stated in the schema of the particular operation.
Parameters
Header Parameters
The response format. contract-v1 — every amount carries its currency and every rate names its pair. legacy — the original format, unchanged. Without the header the format depends on your contract: a contract with amounts in its own currency gets contract-v1, and legacy is refused with 406 billing_format_not_available; an account set up on postpaid before contract-v1 gets legacy, and contract-v1 is enabled for it per account, otherwise 403 billing_format_not_enabled. Any other value — 400 unsupported_billing_format, before anything is changed. The header changes only how the response is written: no amount, permission or IP check changes.
"legacy""contract-v1"Responses
Your current rate.