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.

accountLines.d.ts 983B

12345678910111213141516171819202122232425262728293031323334353637
  1. import { LedgerIndex } from '../common';
  2. import { BaseRequest, BaseResponse } from './baseMethod';
  3. export interface Trustline {
  4. account: string;
  5. balance: string;
  6. currency: string;
  7. limit: string;
  8. limit_peer: string;
  9. quality_in: number;
  10. quality_out: number;
  11. no_ripple?: boolean;
  12. no_ripple_peer?: boolean;
  13. authorized?: boolean;
  14. peer_authorized?: boolean;
  15. freeze?: boolean;
  16. freeze_peer?: boolean;
  17. }
  18. export interface AccountLinesRequest extends BaseRequest {
  19. command: 'account_lines';
  20. account: string;
  21. ledger_hash?: string;
  22. ledger_index?: LedgerIndex;
  23. peer?: string;
  24. limit?: number;
  25. marker?: unknown;
  26. }
  27. export interface AccountLinesResponse extends BaseResponse {
  28. result: {
  29. account: string;
  30. lines: Trustline[];
  31. ledger_current_index?: number;
  32. ledger_index?: number;
  33. ledger_hash?: string;
  34. marker?: unknown;
  35. };
  36. }
  37. //# sourceMappingURL=accountLines.d.ts.map