Retrieve available routes for exact output token swaps
GetExactOutputRoutes endpoint retrieves available token routes for exact output swaps. Given a destination token, it returns all source tokens that can be swapped to achieve that exact output amount. This is essential for building UIs where users specify exactly how much they want to receive.
GetExactOutputRoutes when:
GetExactInputRoutes when:
API Key for authenticating requests, get an access key at https://trails.build and request early access
Successful response
[]TokenInfo