Type alias CreateBidOutput

CreateBidOutput: {
    buyerTradeState: Pda;
    tokenAccount: Option<PublicKey>;
    metadata: Pda;
    buyer: PublicKey;
    receipt: Option<Pda>;
    bookkeeper: Option<PublicKey>;
    price: SolAmount | SplTokenAmount;
    tokens: SplTokenAmount;
    bid: Bid;
    response: SendAndConfirmTransactionResponse;
}

Type declaration

  • buyerTradeState: Pda

    Buyer trade state account PDA encoding the bid order.

  • tokenAccount: Option<PublicKey>

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

  • metadata: Pda

    The asset's metadata PDA.

  • buyer: PublicKey

    The potential buyer of the asset.

  • receipt: Option<Pda>

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

  • bookkeeper: Option<PublicKey>

    The address of the bookkeeper wallet responsible for the receipt.

  • price: SolAmount | SplTokenAmount

    The buyer's price.

  • tokens: SplTokenAmount

    The number of tokens to bid for.

  • bid: Bid

    A model that keeps information about the Bid.

  • response: SendAndConfirmTransactionResponse

    The blockchain response from sending and confirming the transaction.

Generated using TypeDoc