@bithomp/xrpl-api
Version:
A Bithomp JavaScript/TypeScript library for interacting with the XRP Ledger
27 lines (26 loc) • 624 B
TypeScript
export interface Trustline {
account: string;
balance: string;
currency: string;
limit: string;
limit_peer: string;
lock_count?: number;
locked_balance?: string;
quality_in: number;
quality_out: number;
no_ripple?: boolean;
no_ripple_peer?: boolean;
authorized?: boolean;
peer_authorized?: boolean;
freeze?: boolean;
freeze_peer?: boolean;
}
export interface AccountLinesResponse {
account: string;
lines: Trustline[];
ledger_current_index?: number;
ledger_index?: number;
ledger_hash?: string;
marker?: unknown;
validated?: boolean;
}