import { sendTransaction } from "thirdweb";
import { collectAuctionPayout } from "thirdweb/extensions/marketplace";
const transaction = collectAuctionPayout({
contract,
auctionId: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });