@bithomp/xrpl-api
Version:
A Bithomp JavaScript/TypeScript library for interacting with the XRP Ledger
17 lines (16 loc) • 759 B
TypeScript
import { Trustline } from "../models/account_lines";
import { LedgerIndex } from "../models/ledger";
import { ErrorResponse } from "../models/base_model";
import { GatewayBalances } from "../models/gateway_balances";
import { FormattedGatewayBalances } from "../types";
export interface GetBalanceSheetOptions {
ledgerIndex?: LedgerIndex;
hotwallet?: string;
strict?: boolean;
formatted?: boolean;
}
export declare function getBalanceSheet(account: string, options?: GetBalanceSheetOptions): Promise<GatewayBalances | FormattedGatewayBalances | ErrorResponse>;
export interface ObligationTrustline extends Trustline {
obligation?: boolean;
}
export declare function getAccountObligations(account: string): Promise<object | ErrorResponse>;