Skip to main content

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

ParameterTypeDescription
listingIdBigNumberish
addressOfOfferorstring

Returns:

Promise<TransactionResult>

Remarks

Accept an offer on a direct listing