Type alias ExecuteSaleBuilderContext

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

Type declaration

  • metadata: PublicKey

    The asset's metadata address.

  • price: SolAmount | SplTokenAmount

    The sale price.

  • tokens: SplTokenAmount

    The number of tokens bought.

  • buyer: PublicKey

    The buyer address.

  • seller: PublicKey

    The seller address.

  • bookkeeper: Option<PublicKey>

    The address of the bookkeeper account responsible for the receipt.

  • buyerTradeState: PublicKey

    Biyer trade state account address encoding the bid order.

  • 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