algebraSwapCallback

nonpayable

Use this function in your app

import { prepareContractCall, sendTransaction } from "thirdweb"; const transaction = await prepareContractCall({ contract, method: "function algebraSwapCallback(int256 amount0Delta, int256 amount1Delta, bytes data)", params: [amount0Delta, amount1Delta, data] }); const { transactionHash } = await sendTransaction({ transaction, account });