Skip to content

Get order limits and durations

GET
/api/v1/orders/options
curl --request GET \
--url https://trongas.ai/api/v1/orders/options \
--header 'X-Api-Key: <X-Api-Key>'

What you may order: per resource (energy, bandwidth) the allowed durations, the unit one transaction costs, and the min/max volume. Also the maximum address-activation fee. Call this instead of hardcoding limits — they change.

OK

object
resources
required
Array<object>
object
resource
required
string
durations
required
Array<string>
unit
required
integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
minVolume
required
integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
maxVolume
required
integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
activationMaxTrx
required
string