UNPKG

@digitalbits-blockchain/xdb-digitalbits-sdk

Version:

@digitalbits-blockchain/xdb-digitalbits-sdk is a library for working with the DigitalBits Frontier server.

36 lines (35 loc) 1.46 kB
import { Frontier } from "./frontier_api"; import { ServerApi } from "./server_api"; export declare class AccountResponse { readonly id: string; readonly paging_token: string; readonly account_id: string; sequence: string; readonly sequence_ledger?: number; readonly sequence_time?: string; readonly subentry_count: number; readonly home_domain?: string; readonly inflation_destination?: string; readonly last_modified_ledger: number; readonly last_modified_time: string; readonly thresholds: Frontier.AccountThresholds; readonly flags: Frontier.Flags; readonly balances: Frontier.BalanceLine[]; readonly signers: ServerApi.AccountRecordSigners[]; readonly data: (options: { value: string; }) => Promise<{ value: string; }>; readonly data_attr: Record<string, string>; readonly effects: ServerApi.CallCollectionFunction<ServerApi.EffectRecord>; readonly offers: ServerApi.CallCollectionFunction<ServerApi.OfferRecord>; readonly operations: ServerApi.CallCollectionFunction<ServerApi.OperationRecord>; readonly payments: ServerApi.CallCollectionFunction<ServerApi.PaymentOperationRecord>; readonly trades: ServerApi.CallCollectionFunction<ServerApi.TradeRecord>; private readonly _baseAccount; constructor(response: ServerApi.AccountRecord); accountId(): string; sequenceNumber(): string; incrementSequenceNumber(): void; }