Payments
Find Routes
Use thirdweb's Bridge.routes
utility to find all routes between tokens.
Retrieve all supported routes:
This returns an array of route objects with information about supported token pairs:
Get all routes starting from a specific chain and token:
Find routes that end at a specific destination:
Find direct routes between specific token pairs:
For large result sets, use pagination to retrieve routes in chunks:
Control the maximum number of steps in the returned routes:
To connect with other auth strategies, use external wallets, or sponsor gas for users, check out the following guides: