Docs

sendSwap

Retrieves contract events from the blockchain.

Example

import { sendSwap } from "thirdweb/pay";
const swapStatusParams = await sendSwap({
account,
route,
});

Parameters

Returns

SwapStatusParams to be used in getSwapStatus