👻Transit Swap Aggregation
Transit Swap API of Aggregation
chain supported:
ETH
BSC
HECO
OEC
HSC
MATIC
FTM
AVAX
ARB
KLAY
KCC
Solana
Aptos
Transit Swap API for Aggregation
GET
https://aggserver.transit.finance/v3/transit/swap
Query Swap Info and ABI data
Query Parameters
Request Params Details
amountIn: calculated with decimals, For example 1ETH = 10**18
impact: base 1000, uint:‱, For example 1% = 100‱
amountOutMin: first time set 0, when user push transaction and set amountOutMin of last query
chain: set chain string of supported.
Responses Details
totalAmountOut: dstToken received (estimated)
normalFee: calc fee with feeRate
fee: actual fees paid
aggregator: Transit swap Router v3
dexPath: the sources of used dex for used part
amounts: all sources of dex's single amountOut
data: ABI data can be sent directly to router contract
Last updated