/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { accountBalancesListAccountBalancesApiV1LedgersLedgerCanisterIdAccountsAccountIdBalanceHistoryGet, } from "../funcs/accountBalancesListAccountBalancesApiV1LedgersLedgerCanisterIdAccountsAccountIdBalanceHistoryGet.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class AccountBalances extends ClientSDK { /** * List daily transaction balances for an account * * @remarks * This endpoint returns an account's daily balances. * * ### 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). */ async listAccountBalancesApiV1LedgersLedgerCanisterIdAccountsAccountIdBalanceHistoryGet( request: operations.ListAccountBalancesApiV1LedgersLedgerCanisterIdAccountsAccountIdBalanceHistoryGetRequest, options?: RequestOptions, ): Promise { return unwrapAsync( accountBalancesListAccountBalancesApiV1LedgersLedgerCanisterIdAccountsAccountIdBalanceHistoryGet( this, request, options, ), ); } }