Type alias LazyPurchase

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

Type declaration

  • auctionHouse: AuctionHouse

    A model of the Auction House related to this purchase.

  • price: SolAmount | SplTokenAmount

    The number of tokens spent on this purchase.

  • bookkeeperAddress: Option<PublicKey>

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

  • createdAt: DateTime

    The date of creation.

  • model: "purchase"

    A model identifier to distinguish models in the SDK.

  • buyerAddress: PublicKey

    The address of the buyer's wallet.

  • 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.

  • sellerAddress: PublicKey

    The address of the seller's wallet.

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

Generated using TypeDoc