Type alias DirectSellInput

DirectSellInput: {
    auctionHouse: AuctionHouse;
    sellerToken: undefined | null | Token;
    bid: Omit<Object, "bookkeeperAddress" | "purchaseReceiptAddress" | "createdAt"> | Omit<Object, "bookkeeperAddress" | "purchaseReceiptAddress" | "createdAt">;
    authority?: undefined | PublicKey | Signer;
    seller?: undefined | PublicKey | Signer;
    auctioneerAuthority?: undefined | Signer;
    bookkeeper?: undefined | Signer;
    printReceipt?: undefined | boolean;
}

Type declaration

  • auctionHouse: AuctionHouse

    The Auction House in which to create a Listing and execute a Sale.

  • sellerToken: undefined | null | Token

    The Token Account of an asset to sell. Public Bid doesn't contain a token, so it must be provided externally via this parameter.

  • bid: Omit<Object, "bookkeeperAddress" | "purchaseReceiptAddress" | "createdAt"> | Omit<Object, "bookkeeperAddress" | "purchaseReceiptAddress" | "createdAt">

    The Public Bid that is used in the sale. We only need a subset of the Bid model but we need enough information regarding its settings to know how to execute the sale.

    This includes its auction house address, buyer, receipt address, etc.

  • Optional authority?: undefined | PublicKey | Signer

    The Auction House authority. If this is Signer the transaction fee will be paid from the Auction House Fee Account

    Default Value

    auctionHouse.authority

  • Optional seller?: undefined | PublicKey | Signer

    Creator of a listing.

    There must be one and only one signer; Authority or Seller must sign.

    Default Value

    metaplex.identity()

  • Optional auctioneerAuthority?: undefined | Signer

    The Auctioneer authority key. It is required when Auction House has Auctioneer enabled.

    Default Value

    No default value.

  • Optional bookkeeper?: undefined | Signer

    The address of the bookkeeper wallet responsible for the receipt.

    Default Value

    metaplex.identity()

  • Optional printReceipt?: undefined | boolean

    Prints the purchase receipt. The receipt holds information about the purchase, So it's important to print it if you want to use the Purchase model

    Default Value

    true

Generated using TypeDoc