Constructors

Properties

client: LuzidGrpcClient

Methods

  • Returns the data for an account.

    Parameters

    • pubkey: string

      The pubkey of the account we are intrested in

    • opts: {
          commitment?: "processed" | "confirmed" | "finalized";
      } = {}

      optional parameters to further configure how the account data is queried

      • Optional commitment?: "processed" | "confirmed" | "finalized"

        the commitment that the for which the account data is returned, default is confirmed

    Returns Promise<Successful<StoreGetAccountDataResponse>>

  • Returns the update to an account resulting from a specific transaction.

    Parameters

    • pubkey: string

      The pubkey of the account we are intrested in

    • transactionSignature: string

      The transaction that caused the account update

    Returns Promise<Successful<StoreGetDiffedAccountUpdateResponse>>

Generated using TypeDoc