Type alias ExecuteSaleOutput

ExecuteSaleOutput: { sellerTradeState: PublicKey; buyerTradeState: PublicKey; buyer: PublicKey; seller: PublicKey; metadata: PublicKey; bookkeeper: Option<PublicKey>; receipt: Option<Pda>; price: SolAmount | SplTokenAmount; tokens: SplTokenAmount; purchase: Purchase; response: SendAndConfirmTransactionResponse }

Type declaration

  • sellerTradeState: PublicKey

    Seller trade state account address encoding the listing order.

  • buyerTradeState: PublicKey

    Biyer trade state account address encoding the bid order.

  • buyer: PublicKey

    The buyer address.

  • seller: PublicKey

    The seller address.

  • metadata: PublicKey

    The asset's metadata address.

  • bookkeeper: Option<PublicKey>

    The address of the bookkeeper account responsible for the receipt.

  • receipt: Option<Pda>

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

  • price: SolAmount | SplTokenAmount

    The sale price.

  • tokens: SplTokenAmount

    The number of tokens bought.

  • purchase: Purchase

    A model that keeps information about the Purchase.

  • response: SendAndConfirmTransactionResponse

    The blockchain response from sending and confirming the transaction.

Generated using TypeDoc