Tron
Get api quote
GET quote for aggregation swap
GET
TypeScript
Path Parameters
Blockchain served by this service.
Available options:
tron Query Parameters
Source token address (base58 T... or hex). Native TRX:
T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb.
Destination token address (base58 T... or hex).
Amount of source token to swap (in token's normalized unit, e.g. 1.5 TRX).
Ignored when amountInWei is provided.
Amount of source token in the smallest unit (SUN for TRX). Takes precedence
over amountIn.
Slippage in bps for amountOutMin (not below the service minimum, 50 bps).
Required range:
x >= 0Response
Quote for swap through POST /{blockchain}/swap
TypeScript