Type alias LazyPurchase

LazyPurchase: {
    model: "purchase";
    auctionHouse: AuctionHouse;
    buyerAddress: PublicKey;
    bookkeeperAddress: Option<PublicKey>;
    receiptAddress: Option<PublicKey>;
    price: SolAmount | SplTokenAmount;
    createdAt: DateTime;
    sellerAddress: PublicKey;
    lazy: true;
    metadataAddress: PublicKey;
    tokens: BigNumber;
}

Type declaration

  • model: "purchase"

    A model identifier to distinguish models in the SDK.

  • auctionHouse: AuctionHouse

    A model of the Auction House related to this purchase.

  • buyerAddress: PublicKey

    The address of the buyer's wallet.

  • bookkeeperAddress: Option<PublicKey>

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

  • receiptAddress: Option<PublicKey>

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

  • price: SolAmount | SplTokenAmount

    The number of tokens spent on this purchase.

  • createdAt: DateTime

    The date of creation.

  • sellerAddress: PublicKey

    The address of the seller's wallet.

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

Generated using TypeDoc