A hook to get a swap route
import { useSendSwap } from "thirdweb/react";const { sendSwap, swapStatus, sendStatus, isFetching, error } = useSendSwap(); // laterawait sendSwap(swapParams); console.log(swapStatus); // this will update with swap status
a swap route object to perform a swap