Type alias ExecuteSaleBuilderContext

ExecuteSaleBuilderContext: { buyer: PublicKey; seller: PublicKey; price: SolAmount | SplTokenAmount; tokens: SplTokenAmount; bookkeeper: Option<PublicKey>; buyerTradeState: PublicKey; metadata: PublicKey; receipt: Option<Pda>; sellerTradeState: PublicKey }

Type declaration

  • buyer: PublicKey

    The buyer address.

  • seller: PublicKey

    The seller address.

  • price: SolAmount | SplTokenAmount

    The sale price.

  • tokens: SplTokenAmount

    The number of tokens bought.

  • bookkeeper: Option<PublicKey>

    The address of the bookkeeper account responsible for the receipt.

  • buyerTradeState: PublicKey

    Biyer trade state account address encoding the bid order.

  • metadata: PublicKey

    The asset's metadata address.

  • receipt: Option<Pda>

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

  • sellerTradeState: PublicKey

    Seller trade state account address encoding the listing order.

Generated using TypeDoc