typescript-sdk

Home > @3rdweb/sdk > MarketplaceModule > makeAuctionListingBid

MarketplaceModule.makeAuctionListingBid() method

Bid On Auction

Signature:

makeAuctionListingBid(bid: {
        listingId: BigNumberish;
        pricePerToken: BigNumberish;
    }): Promise<void>;

Parameters

Parameter Type Description
bid { listingId: BigNumberish; pricePerToken: BigNumberish; }  

Returns:

Promise<void>

Remarks

Make a bid on an auction listings

Example

// The listing ID of the asset you want to bid on
const listingId = 0;
// The price you are willing to bid for a single token of the listing
const pricePerToken = 1;

await module.makeAuctionListingBid({ listingId, pricePerToken });