⚡ Titan Swap API
Простые и сверхэффективные свапы в сети TON. Начните всего за 30 минут.
Creates messages to send swap on-chain using sendTransaction-like methods. Should be used in combination with the response object from /v1/quote.
Address of the user who is sending the transaction
Optional address to where the tokens should be sent to. This defaults to senderAddress
Messages to send on-chain for a swap
Unix timestamp indicating when the validity of this data expires
Bad request
Internal server error
Get a quote to swap one token to another
The input mint address. Can be user friendly format, or raw.
The output mint address. Can be user friendly format, or raw.
The amount to swap. Must be in raw format.
The maximum number of split paths. There can be up to this many simultaneous swaps in one transaction.
The maximum edge length. This is the maximum number of hops allowed.
Slippage allowed in basis points eg. 250 is 2.5% slippage
DEXs that can be used to route the swap. Comma separated values eg DeDust,StonFi
Minimum liquidity in USD for each pool to be used in the swap
Quote for a swap
Bad request
Internal server error
Get current token price in USD and TON
A valid TON address for which to get the price
Prices for a token in TON and USD
The price in USD, rounded to 5 significant digits
The price in TON, rounded to 5 significant digits
Token not found
Internal server error
Retrieve the swap history for a specific user address, with pagination support
The user's wallet address
Page number for paginated results, starting at 1
1An array of swap records for the given user
The transaction hash of the swap
Status of the transaction, e.g., 'success'
The address of the sender
The address of the destination
The reason for transaction failure, if any
The raw amount of the input token
The raw amount of the output token
The liquidity pool source of the swap
Unix timestamp of when the trade was created
Unix timestamp of when the trade was completed
Invalid request parameters.
User not found.
Gets the original quote details for a transaction based on its unique hash
The hash of the transaction you want the quote for
Quote for a swap
Transaction not found
Internal server error