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
...
function collectAuctionTokens(
| { asyncParams: () => Promise<CollectAuctionTokensParams> }
>,

Parameters

The options for the "collectAuctionTokens" function.

Type

| { asyncParams: () => Promise<CollectAuctionTokensParams> }
>;

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.