Type alias CreateListingOutput

CreateListingOutput: {
    sellerTradeState: Pda;
    freeSellerTradeState: Pda;
    tokenAccount: PublicKey;
    metadata: Pda;
    seller: PublicKey;
    receipt: Option<Pda>;
    bookkeeper: Option<PublicKey>;
    price: SolAmount | SplTokenAmount;
    tokens: SplTokenAmount;
    listing: Listing;
    response: SendAndConfirmTransactionResponse;
}

Type declaration

  • sellerTradeState: Pda

    Seller trade state account PDA encoding the listing order.

  • freeSellerTradeState: Pda

    Seller free trade state account PDA encoding the free listing order.

  • tokenAccount: PublicKey

    The asset's token account address.

  • metadata: Pda

    The asset's metadata PDA.

  • seller: PublicKey

    The seller address.

  • receipt: Option<Pda>

    The PDA of the receipt account in case it was printed.

  • bookkeeper: Option<PublicKey>

    The address of the bookkeeper account responsible for the receipt.

  • price: SolAmount | SplTokenAmount

    The listing price.

  • tokens: SplTokenAmount

    The number of tokens listed.

  • listing: Listing

    A model that keeps information about the Listing.

  • response: SendAndConfirmTransactionResponse

    The blockchain response from sending and confirming the transaction.

Generated using TypeDoc