Home > @3rdweb/sdk > MarketplaceModule > makeAuctionListingBid
Bid On Auction
Signature:
makeAuctionListingBid(bid: {
listingId: BigNumberish;
pricePerToken: BigNumberish;
}): Promise<void>;
Parameter | Type | Description |
---|---|---|
bid | { listingId: BigNumberish; pricePerToken: BigNumberish; } |
Returns:
Promise<void>
Make a bid on an auction listings
// 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 });