1 | import { LedgerEntry } from '../objects';
|
2 | export interface LedgerEntryRequest {
|
3 | ledger_hash?: string;
|
4 | ledger_index?: number | ('validated' | 'closed' | 'current');
|
5 | index?: string;
|
6 | account_root?: string;
|
7 | directory?: string | {
|
8 | sub_index?: number;
|
9 | dir_root: string;
|
10 | } | {
|
11 | sub_index?: number;
|
12 | owner: string;
|
13 | };
|
14 | offer?: string | {
|
15 | account: string;
|
16 | seq: number;
|
17 | };
|
18 | ripple_state?: {
|
19 | accounts: [string, string];
|
20 | currency: string;
|
21 | };
|
22 | binary?: boolean;
|
23 | }
|
24 | export interface LedgerEntryResponse {
|
25 | index: string;
|
26 | ledger_index: number;
|
27 | node_binary?: string;
|
28 | node?: LedgerEntry;
|
29 | }
|
30 |
|
\ | No newline at end of file |