Gets the status of a swap transaction
import { getSwapStatus, type SwapStatus } from "thirdweb/pay"; const swapStatus: SwapStatus = await getSwapStatus({ client, transactionId: "1234", // transactionId returned from getRoute transactionHash: "0x...", // transactionHash returned from sendSwap or sendTransaction});
a status object of the swap transaction