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.

accountInfo.d.ts 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. import { LedgerIndex } from '../common';
  2. import { AccountRoot, SignerList } from '../ledger';
  3. import { BaseRequest, BaseResponse } from './baseMethod';
  4. export interface AccountInfoRequest extends BaseRequest {
  5. command: 'account_info';
  6. account: string;
  7. ledger_hash?: string;
  8. ledger_index?: LedgerIndex;
  9. queue?: boolean;
  10. signer_lists?: boolean;
  11. strict?: boolean;
  12. }
  13. interface QueueTransaction {
  14. auth_change: boolean;
  15. fee: string;
  16. fee_level: string;
  17. max_spend_drops: string;
  18. seq: number;
  19. }
  20. interface QueueData {
  21. txn_count: number;
  22. auth_change_queued?: boolean;
  23. lowest_sequence?: number;
  24. highest_sequence?: number;
  25. max_spend_drops_total?: string;
  26. transactions?: QueueTransaction[];
  27. }
  28. export interface AccountInfoResponse extends BaseResponse {
  29. result: {
  30. account_data: AccountRoot;
  31. signer_lists?: SignerList[];
  32. ledger_current_index?: number;
  33. ledger_index?: number;
  34. queue_data?: QueueData;
  35. validated?: boolean;
  36. };
  37. }
  38. export {};
  39. //# sourceMappingURL=accountInfo.d.ts.map