Sync with Waxpeer session to auto-fill API key

Get current TRX price

GET/v1/payment/currencies/trx

Returns the current TRX price in USD

Parameters

No query parameters.

Responses

200 Successful operation

NameTypeDescription
success
optional
boolean

Whether the operation succeeded

price
optional
number

Item price in integer format (1000 = $1.00 USD)

msg
optional
string

Reason message when success is false

Response
{
  "success": true,
  "price": 0.234,
  "msg": "string"
}