Type alias CreateBidBuilderContext

CreateBidBuilderContext: { buyer: PublicKey; tokenAccount: Option<PublicKey>; price: SolAmount | SplTokenAmount; tokens: SplTokenAmount; bookkeeper: Option<PublicKey>; buyerTradeState: Pda; metadata: Pda; receipt: Option<Pda> }

Type declaration

  • buyer: PublicKey

    The potential buyer of the asset.

  • tokenAccount: Option<PublicKey>

    The asset's token account address in case the bid is private.

  • price: SolAmount | SplTokenAmount

    The buyer's price.

  • tokens: SplTokenAmount

    The number of tokens to bid for.

  • bookkeeper: Option<PublicKey>

    The address of the bookkeeper wallet responsible for the receipt.

  • buyerTradeState: Pda

    Buyer trade state account PDA encoding the bid order.

  • metadata: Pda

    The asset's metadata PDA.

  • receipt: Option<Pda>

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

Generated using TypeDoc