/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.5 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { AccountIds, AccountInfoDTO, AccountOrderByEnum, AccountPage, MerkleStateInfoDTO, Order } from '../models/index'; export interface GetAccountInfoRequest { accountId: string; } export interface GetAccountInfoMerkleRequest { accountId: string; } export interface GetAccountsInfoRequest { accountIds?: AccountIds; } export interface SearchAccountsRequest { address?: string; pageSize?: number; pageNumber?: number; offset?: string; order?: Order; orderBy?: AccountOrderByEnum; mosaicId?: string; } /** * */ export declare class AccountRoutesApi extends runtime.BaseAPI { /** * Retrieves account data for a given account identifier. The response contains the account state including balance, importance, public key, linked keys, and activity buckets. The `accountId` path parameter accepts either a public key or a Base32-encoded address. * Get account information */ getAccountInfoRaw(requestParameters: GetAccountInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieves account data for a given account identifier. The response contains the account state including balance, importance, public key, linked keys, and activity buckets. The `accountId` path parameter accepts either a public key or a Base32-encoded address. * Get account information */ getAccountInfo(requestParameters: GetAccountInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Retrieves the Merkle proof data for a given account. The Merkle path can be used to independently verify that the account state is included in the block state hash. If no account state entry exists for the supplied account ID, the endpoint still returns a Merkle proof response, but it is a negative proof showing that no account state entry exists for the requested account. The `accountId` path parameter accepts either a public key or a Base32-encoded address. * Get account Merkle information */ getAccountInfoMerkleRaw(requestParameters: GetAccountInfoMerkleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieves the Merkle proof data for a given account. The Merkle path can be used to independently verify that the account state is included in the block state hash. If no account state entry exists for the supplied account ID, the endpoint still returns a Merkle proof response, but it is a negative proof showing that no account state entry exists for the requested account. The `accountId` path parameter accepts either a public key or a Base32-encoded address. * Get account Merkle information */ getAccountInfoMerkle(requestParameters: GetAccountInfoMerkleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Retrieves account data for multiple accounts in a single request. This is the batch equivalent of the single-account endpoint. The request body accepts either an array of public keys or an array of addresses (not both). If both `publicKeys` and `addresses` are provided, the request is invalid and the server returns `409` error. * Get accounts information */ getAccountsInfoRaw(requestParameters: GetAccountsInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Retrieves account data for multiple accounts in a single request. This is the batch equivalent of the single-account endpoint. The request body accepts either an array of public keys or an array of addresses (not both). If both `publicKeys` and `addresses` are provided, the request is invalid and the server returns `409` error. * Get accounts information */ getAccountsInfo(requestParameters?: GetAccountsInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a paginated list of accounts matching the given criteria. Results can be filtered by `address` and `mosaicId` (mosaic ownership), and ordered by `id` or `balance`. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `balance`; when using `orderBy=balance`, the `mosaicId` filter is required. The `offset` value must match the `orderBy` field. * Search accounts */ searchAccountsRaw(requestParameters: SearchAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a paginated list of accounts matching the given criteria. Results can be filtered by `address` and `mosaicId` (mosaic ownership), and ordered by `id` or `balance`. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `balance`; when using `orderBy=balance`, the `mosaicId` filter is required. The `offset` value must match the `orderBy` field. * Search accounts */ searchAccounts(requestParameters?: SearchAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }