You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ledgerEntry.d.ts 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { LedgerIndex } from '../common';
  2. import { LedgerEntry } from '../ledger';
  3. import { BaseRequest, BaseResponse } from './baseMethod';
  4. export interface LedgerEntryRequest extends BaseRequest {
  5. command: 'ledger_entry';
  6. binary?: boolean;
  7. ledger_hash?: string;
  8. ledger_index?: LedgerIndex;
  9. index?: string;
  10. account_root?: string;
  11. check?: string;
  12. deposit_preauth?: {
  13. owner: string;
  14. authorized: string;
  15. } | string;
  16. directory?: {
  17. sub_index?: number;
  18. dir_root?: string;
  19. owner?: string;
  20. } | string;
  21. escrow?: {
  22. owner: string;
  23. seq: number;
  24. } | string;
  25. offer?: {
  26. account: string;
  27. seq: number;
  28. } | string;
  29. payment_channel?: string;
  30. ripple_state?: {
  31. accounts: string[];
  32. currency: string;
  33. };
  34. ticket?: {
  35. owner: string;
  36. ticket_sequence: number;
  37. } | string;
  38. }
  39. export interface LedgerEntryResponse extends BaseResponse {
  40. result: {
  41. index: string;
  42. ledger_current_index: number;
  43. node?: LedgerEntry;
  44. node_binary?: string;
  45. validated?: boolean;
  46. };
  47. }
  48. //# sourceMappingURL=ledgerEntry.d.ts.map