Type alias CreateBidBuilderContext

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

Type declaration

  • metadata: Pda

    The asset's metadata PDA.

  • 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.

  • buyer: PublicKey

    The potential buyer of the asset.

  • bookkeeper: Option<PublicKey>

    The address of the bookkeeper wallet responsible for the receipt.

  • buyerTradeState: Pda

    Buyer trade state account PDA encoding the bid order.

  • receipt: Option<Pda>

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

Generated using TypeDoc