Type alias LazyListing

LazyListing: {
    model: "listing";
    auctionHouse: AuctionHouse;
    tradeStateAddress: Pda;
    bookkeeperAddress: Option<PublicKey>;
    receiptAddress: Option<Pda>;
    purchaseReceiptAddress: Option<PublicKey>;
    price: SolAmount | SplTokenAmount;
    createdAt: DateTime;
    canceledAt: Option<DateTime>;
    sellerAddress: PublicKey;
    lazy: true;
    metadataAddress: PublicKey;
    tokens: BigNumber;
}

Type declaration

  • model: "listing"

    A model identifier to distinguish models in the SDK.

  • auctionHouse: AuctionHouse

    A model of the Auction House related to this listing.

  • tradeStateAddress: Pda

    The address of the seller's trade state account.

  • bookkeeperAddress: Option<PublicKey>

    The address of the bookkeeper account. It is responsible for signing a Listing Receipt Print.

  • receiptAddress: Option<Pda>

    The address of the listing receipt account. This is the account that stores information about this listing. The Listing model is built on top of this account.

  • purchaseReceiptAddress: Option<PublicKey>

    The address of the purchase receipt account. This is the account that stores information about the purchase related to this listing.

    const transactionBuilder = metaplex
    .auctionHouse()
    .builders()
    .findPurchaseByReceipt({ auctionHouse, receiptAddress: purchaseReceiptAddress });
  • price: SolAmount | SplTokenAmount

    The sellers's price.

  • createdAt: DateTime

    The date of creation.

  • canceledAt: Option<DateTime>

    The date of cancellation.

  • sellerAddress: PublicKey

    The address of the seller's wallet.

  • lazy: true
  • metadataAddress: PublicKey
  • tokens: BigNumber

Generated using TypeDoc