collectAuctionPayout

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

Example

import { collectAuctionPayout } from "thirdweb/extensions/marketplace";
const transaction = collectAuctionPayout({
contract,
auctionId: ...,
overrides: {
...
}
});
// Send the transaction
...
function collectAuctionPayout(
| { asyncParams: () => Promise<CollectAuctionPayoutParams> }
>,

Parameters

The options for the "collectAuctionPayout" function.

Type

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

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.