Type alias LazyBid

LazyBid: {
    model: "bid";
    auctionHouse: AuctionHouse;
    tradeStateAddress: Pda;
    buyerAddress: PublicKey;
    bookkeeperAddress: Option<PublicKey>;
    receiptAddress: Option<Pda>;
    purchaseReceiptAddress: Option<PublicKey>;
    price: SolAmount | SplTokenAmount;
    createdAt: DateTime;
    canceledAt: Option<DateTime>;
    isPublic: boolean;
    lazy: true;
    metadataAddress: PublicKey;
    tokenAddress: Option<PublicKey>;
    tokens: BigNumber;
}

Type declaration

  • model: "bid"

    A model identifier to distinguish models in the SDK.

  • auctionHouse: AuctionHouse

    A model of the Auction House related to this bid.

  • tradeStateAddress: Pda

    The address of the buyer's trade state account.

  • buyerAddress: PublicKey

    The address of the buyer's wallet.

  • bookkeeperAddress: Option<PublicKey>

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

  • receiptAddress: Option<Pda>

    The address of the bid receipt account. This is the account that stores information about this bid. The Bid 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 bid.

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

    The buyer's price.

  • createdAt: DateTime

    The date of creation.

  • canceledAt: Option<DateTime>

    The date of cancellation.

  • isPublic: boolean

    The bid is not public, which means that it was created according to the listing.

  • lazy: true
  • metadataAddress: PublicKey
  • tokenAddress: Option<PublicKey>
  • tokens: BigNumber

Generated using TypeDoc