Function findPurchasesOperation

  • Finds Purchases by multiple criteria. You can use any combination of keys. Supports only 3 criteria at the same time including the required auctionHouse attribute.

    // Find all purchases in an Auction House.
    const purchases = await metaplex
    .auctionHouse()
    .findPurchases({ auctionHouse });

    // Find purchases by buyer and mint.
    const purchases = await metaplex
    .auctionHouse()
    .findPurchases({ auctionHouse, buyer, mint });

    // Find purchases by metadata.
    const purchases = await metaplex
    .auctionHouse()
    .findPurchases({ auctionHouse, metadata });

    // Find purchases by seller and buyer.
    const purchases = await metaplex
    .auctionHouse()
    .findPurchases({ auctionHouse, seller, buyer });

    Parameters

    Returns FindPurchasesOperation

Generated using TypeDoc