Swap Token Amount
Swap
Swap Token Amount
Get swap action details for a specific token pair and amount
GET
Swap Token Amount
Path Parameters
Token pair in format input-output. Input and output are token symbols or addresses.
Example:
"SOL-Bonk"
Amount of the input token to swap. If the input token is SOL, this is in SOL, otherwise, this is in USD equivalent of input.
Required range:
x >= 0Example:
0.01