import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({
contract,
method: "function claim(uint256 saleId, bytes permission) returns (uint256 auctionTokens, uint256 refunds)",
params: [saleId, permission]
});
const { transactionHash } = await sendTransaction({
transaction,
account
});