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