Type alias CancelListingBuilderParams

CancelListingBuilderParams: {
    auctionHouse: Pick<AuctionHouse, "address" | "authorityAddress" | "feeAccountAddress" | "hasAuctioneer">;
    listing: Pick<Readonly<{
        model: "listing";
        lazy: false;
        auctionHouse: AuctionHouse;
        asset: SftWithToken | NftWithToken;
        tradeStateAddress: Pda;
        sellerAddress: PublicKey;
        bookkeeperAddress: Option<PublicKey>;
        receiptAddress: Option<Pda>;
        purchaseReceiptAddress: Option<PublicKey>;
        price: SolAmount | SplTokenAmount;
        tokens: SplTokenAmount;
        createdAt: DateTime;
        canceledAt: Option<DateTime>;
    }>, "asset" | "tradeStateAddress" | "receiptAddress" | "price" | "tokens" | "sellerAddress">;
    auctioneerAuthority?: undefined | Signer;
    instructionKey?: undefined | string;
}

Type declaration

  • auctionHouse: Pick<AuctionHouse, "address" | "authorityAddress" | "feeAccountAddress" | "hasAuctioneer">

    The Auction House in which to cancel Bid.

  • listing: Pick<Readonly<{
        model: "listing";
        lazy: false;
        auctionHouse: AuctionHouse;
        asset: SftWithToken | NftWithToken;
        tradeStateAddress: Pda;
        sellerAddress: PublicKey;
        bookkeeperAddress: Option<PublicKey>;
        receiptAddress: Option<Pda>;
        purchaseReceiptAddress: Option<PublicKey>;
        price: SolAmount | SplTokenAmount;
        tokens: SplTokenAmount;
        createdAt: DateTime;
        canceledAt: Option<DateTime>;
    }>, "asset" | "tradeStateAddress" | "receiptAddress" | "price" | "tokens" | "sellerAddress">

    The Listing to cancel. We only need a subset of the Listing model but we need enough information regarding its settings to know how to cancel it.

    This includes, its asset, seller address, price, receipt address etc.

  • Optional auctioneerAuthority?: undefined | Signer

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

    Default Value

    No default value.

  • Optional instructionKey?: undefined | string

Generated using TypeDoc