TRX on Tron to DOT on Asset Hub Swap API
TRX on Tron to DOT on Polkadot Asset Hub swap API: a working BaaS quote request for trx.tron to dot.hub, the source minimum, a captured example or the recorded quote availability, fees including your commission, and the deposit and refund rules for Tron.
Pair at a glance
| Item | Value |
|---|---|
| Source asset | trx.tron |
| Source ticker | TRX |
| Source network | Tron |
| Source decimals | 6 |
| Source contract | — |
| Destination asset | dot.hub |
| Destination ticker | DOT |
| Destination network | Asset Hub |
| Destination decimals | 10 |
| Destination contract | — |
| Source minimum | 30 TRX (30000000) |
| Quote at capture | quoted on 2026-11-18 |
| Recommended retry | 50 blocks, at capture |
| Vault swaps | Supported from Tron (needs the partner's affiliate broker SS58) |
| Boost | Not applicable (Boost applies only to Bitcoin deposits) |
Quote request
curl --location 'https://chainflip-broker.io/quotes-native?apiKey=87517a91d5f34dbabfc1e410946a3a3c&sourceAsset=trx.tron&destinationAsset=dot.hub&amount=645275775'
Replace the example key with your own production key. To try it first, use https://perseverance.chainflip-broker.io with a separate testnet key; see Testing.
A successful request returns an array of quotes, which can be empty ([]); a failure carries a machine-readable code, listed in Error Codes. See Asking for a Quote for every field and Starting a Swap for turning the quote into a swap with slippage protection.
Example response
Example response captured on 2026-11-18 for 645.275775 TRX (645275775 native units) from trx.tron to dot.hub. Selected fields from a regular quote; estimatedPrice, poolInfo, the DCA quote and any Boost quote are omitted. The *Native strings are exact; decimal amounts are shown as JSON numbers. Values change with liquidity and fees; run the request for current values. This is not a live quote.
{
"type": "regular",
"ingressAsset": "trx.tron",
"ingressAmount": 645.275775,
"ingressAmountNative": "645275775",
"intermediateAsset": "usdc.eth",
"intermediateAmount": 196.56673,
"intermediateAmountNative": "196566730",
"egressAsset": "dot.hub",
"egressAmount": 245.9776388064,
"egressAmountNative": "2459776388064",
"includedFees": [
{
"type": "ingress",
"asset": "trx.tron",
"amount": 6.1632,
"amountNative": "6163200"
},
{
"type": "network",
"asset": "usdc.eth",
"amount": 0.5,
"amountNative": "500000"
},
{
"type": "broker",
"asset": "usdc.eth",
"amount": 0.393921,
"amountNative": "393921"
},
{
"type": "egress",
"asset": "dot.hub",
"amount": 0.019745,
"amountNative": "197450000"
},
{
"type": "liquidity",
"asset": "trx.tron",
"amount": 0,
"amountNative": "0"
},
{
"type": "liquidity",
"asset": "usdc.eth",
"amount": 0,
"amountNative": "0"
}
],
"recommendedSlippageTolerancePercent": 2.5,
"recommendedRetryDurationInBlocks": 50,
"estimatedDurationSeconds": 167.5,
"estimatedDurationsSeconds": {
"deposit": 64.5,
"swap": 12,
"egress": 91
},
"lowLiquidityWarning": true
}
Fees and your commission
BaaS adds a 5 bps operating fee to every swap. You set your own broker commission in the dashboard, and the quote includes it automatically. commissionBps is optional and defaults to your configured commission; a value below your configured commission is silently raised to it, not rejected, and a value outside 0–995 is a 400. The broker entry in includedFees is the total broker fee Chainflip charges: your commission plus BaaS's 5 bps. includedFees also lists the ingress, network, egress and liquidity fees. The earned fees of an account with an affiliate exclude the operating fee. See Pricing, View Earned Fees and Starting a Swap.
Deposit and refund rules
A /swap call opens a deposit channel and returns the address the user sends the source asset to.
- Deposit channels close after 24 hours. Open a new channel for every deposit-channel swap and send the deposit immediately.
minimumPriceandrefundAddressare required.retryDurationInBlocksis optional: omitted or negative, it is the 150-block (15-minute) default, and a value above Chainflip's current runtime limit is lowered to that limit. Use the quote'srecommendedRetryDurationInBlocks.- If the minimum price or live price protection is not met within the retry window, the source asset is refunded to
refundAddress. For DCA, only unexecuted chunks are refunded; executed chunks still pay out to the destination.
See slippage protection and live price protection in Starting a Swap.
The source chain is Tron. The deposit address is a Tron address, and refundAddress must be valid on Tron. See the Tron chain page for address formats and deposit details.
Route notes
- Chainflip recommends
300blocks (30 minutes) when BTC is on either side and50blocks (5 minutes) otherwise, so50blocks on this route; use the quote'srecommendedRetryDurationInBlocks. - Source deposits and refunds use Tron addresses; see the Tron chain page.
destinationAddressmust be valid on Asset Hub; see the Asset Hub chain page.- Vault swaps are supported from Tron source assets and require the partner's affiliate broker SS58; otherwise
/tx-payload/*answers 400Partner is not yet set up for vault swaps.See Vault Swap Transaction Payloads. boostFeeis accepted and validated (0–100) for Tron source assets but has no effect; Boost applies only to Bitcoin deposits.- Asset Hub destination addresses are 64-hex (optional
0x) or Polkadot-prefix-0SS58;/swapconverts SS58 to hex. Other SS58 prefixes are rejected. See the Asset Hub chain page. - Tron addresses are 34-character base58check starting
T; for TRC-20 vault swaps, attach thenoteand set the Tron transaction'sfeeLimit(not a BaaS parameter). See the Tron chain page.
FAQ
What is the minimum TRX amount?
The minimum trx.tron deposit is 30 TRX (30000000 native units), from the /assets snapshot of 2026-11-17. Destination egress minimums are gas-dependent and not in /assets; a quote for your amount is authoritative.
How long does it take?
The example quote captured on 2026-11-18 estimated about 2 minutes 48 seconds (167.5 seconds). Chainflip split it into deposit 64.5, swap 12 and egress 91 seconds. This is an example, not a promise: use the estimatedDurationSeconds of your own quote.
What fees will I pay?
BaaS's 5 bps operating fee plus your configured broker commission, and Chainflip's own ingress, network, egress and liquidity fees. The quote's includedFees lists every fee for your amount; its broker entry is your commission plus the 5 bps. See Pricing.
Can I set my own commission?
Yes: set your broker commission in the dashboard. commissionBps can raise it for one request; a lower value is silently raised to your configured commission, and a value outside 0–995 is a 400. See Starting a Swap.