This endpoint allows users to trade a specific amount of one token into another token using the Aerodrome Slipstream protocol.
The transaction is executed by specifying the exact amount of the input token to be sold, and the system calculates the amount of the output token that will be received. The operation ensures that the trade is conducted within the constraints of the current market conditions, taking into account the liquidity and price impact. This endpoint is suitable for users who want to sell a precise quantity of a token and are willing to accept the resulting amount of the other token.
Required Allowances
In order to make this transaction, token allowances need to be set for the following contracts.
AerodromeSlipstreamRouterRequest model for selling exactly an amount of tokens.
The symbol or address of the token to swap from.
"WETH"
The symbol or address of the token to swap to.
"WETH"
The tick spacing of the pool
x >= 1100
300
400
500
1000
1500
2500
2700
3000
5000
6000
7000
8000
9000
10000
20000
The amount of the token to swap from
x > 01.5
base The address of the transaction sender.
"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
"AERODROME_SLIPSTREAM_SELL_EXACTLY"The minimum amount of the token to swap to, defaults to 0
x >= 01.4
Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
Successful Response
The unsigned transaction data. User must sign and broadcast to network.