Marketplace.makeOffer() method
Make an offer for a Direct or Auction Listing
Example
// The listing ID of the asset you want to offer on
const listingId = 0;
// The price you are willing to offer per token
const pricePerToken = 0.5;
// The quantity of tokens you want to receive for this offer
const quantity = 1;
await contract.makeOffer(listingId, pricePerToken, quantity);
Signature:
makeOffer(listingId: BigNumberish, pricePerToken: Price, quantity?: BigNumberish): Promise<TransactionResult>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| listingId | BigNumberish | |
| pricePerToken | Price | |
| quantity | BigNumberish | (Optional) |
Returns:
Promise<TransactionResult>
Remarks
Make an offer on a direct or auction listing