Swap API
Swap between tokens and chains with thirdweb's new Swap API.

You can now instantly swap between tokens and chains using any thirdweb wallet with the https://api.thirdweb.com/v1/payments/swap
endpoint. Using exact
you can toggle between specifying an input and output amount to be received. Learn more and see the full reference here.