Docs

collectAuctionTokens

Prepares a transaction to call the "collectAuctionTokens" function on the contract.

Example

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

Parameters

Returns

A prepared transaction object.