MarketplaceDirect.acceptOffer() method
Accept an offer on a direct listing
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 offeror = "0x...";
await contract.direct.acceptOffer(listingId, offeror);
Signature:
acceptOffer(listingId: BigNumberish, addressOfOfferor: string): Promise<TransactionResult>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| listingId | BigNumberish | |
| addressOfOfferor | string |
Returns:
Promise<TransactionResult>
Remarks
Accept an offer on a direct listing