import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; export declare class Accounts extends ClientSDK { /** * List accounts * * @remarks * ### How is data retrieved for this endpoint? * * Values from the endpoint are created by the retrieved transactions from the * ledger canister. As transactions come in, the API updates the account information * and balances in the database. */ listAccountsApiV1LedgersLedgerCanisterIdAccountsGet(request: operations.ListAccountsApiV1LedgersLedgerCanisterIdAccountsGetRequest, options?: RequestOptions): Promise; /** * List transactions for an account * * @remarks * This endpoint returns an account's transactions, the total transactions for the account found, * and the max transaction index. The max transaction index is used to keep track of the * location in the dataset for pagination purposes. * * ### How is data retrieved for this endpoint? * * Values from the endpoint are created by scraping the transactions from the * ledger canister (and associated archive canisters). */ listAccountTransactionsApiV1LedgersLedgerCanisterIdAccountsIdTransactionsGet(request: operations.ListAccountTransactionsApiV1LedgersLedgerCanisterIdAccountsIdTransactionsGetRequest, options?: RequestOptions): Promise; /** * Get owner's account * * @remarks * This endpoint returns a singular account that can be found for a given * ledger canister. * * ### How is data retrieved for this endpoint? * * Values from the endpoint are created by the retrieved transactions from the * ledger canister. As transactions come in, the API updates the account information * and balances in the database. */ getAccountApiV1LedgersLedgerCanisterIdAccountsIdGet(request: operations.GetAccountApiV1LedgersLedgerCanisterIdAccountsIdGetRequest, options?: RequestOptions): Promise; /** * Get the total number of accounts that meet the criteria */ countAccountsApiV2LedgersLedgerCanisterIdAccountsCountGet(request: operations.CountAccountsApiV2LedgersLedgerCanisterIdAccountsCountGetRequest, options?: RequestOptions): Promise; /** * List accounts * * @remarks * ### How is data retrieved for this endpoint? * * Values from the endpoint are created by the retrieved transactions from the * ledger canister. As transactions come in, the API updates the account information * and balances in the database. */ listAccountsApiV2LedgersLedgerCanisterIdAccountsGet(request: operations.ListAccountsApiV2LedgersLedgerCanisterIdAccountsGetRequest, options?: RequestOptions): Promise; /** * List transactions for an account * * @remarks * This endpoint is similar to the v2 transactions list endpoint. * This endpoint returns a list of all transactions that have a `from_account`, * `to_account`, or `from_ledger` matching the given account. * It also returns a "next_cursor" and "previous_cursor" if there are more pages * of results * * ### How is data retrieved for this endpoint? * * Values from the endpoint are created by scraping the transactions from the * ledger canister (and associated archive canisters). */ listAccountTransactionsApiV2LedgersLedgerCanisterIdAccountsIdTransactionsGet(request: operations.ListAccountTransactionsApiV2LedgersLedgerCanisterIdAccountsIdTransactionsGetRequest, options?: RequestOptions): Promise; /** * Get the total count of transactions matching the given criteria * * @remarks * This endpoint returns the total count of transactions matching the given criteria. */ countTransactionsApiV2LedgersLedgerCanisterIdAccountsIdTransactionsCountGet(request: operations.CountTransactionsApiV2LedgersLedgerCanisterIdAccountsIdTransactionsCountGetRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=accounts.d.ts.map