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.

accountTx.d.ts 1.0KB

1234567891011121314151617181920212223242526272829303132333435
  1. import { LedgerIndex, ResponseOnlyTxInfo } from '../common';
  2. import { Transaction, TransactionMetadata } from '../transactions';
  3. import { BaseRequest, BaseResponse } from './baseMethod';
  4. export interface AccountTxRequest extends BaseRequest {
  5. command: 'account_tx';
  6. account: string;
  7. ledger_index_min?: number;
  8. ledger_index_max?: number;
  9. ledger_hash?: string;
  10. ledger_index?: LedgerIndex;
  11. binary?: boolean;
  12. forward?: boolean;
  13. limit?: number;
  14. marker?: unknown;
  15. }
  16. interface AccountTransaction {
  17. ledger_index: number;
  18. meta: string | TransactionMetadata;
  19. tx?: Transaction & ResponseOnlyTxInfo;
  20. tx_blob?: string;
  21. validated: boolean;
  22. }
  23. export interface AccountTxResponse extends BaseResponse {
  24. result: {
  25. account: string;
  26. ledger_index_min: number;
  27. ledger_index_max: number;
  28. limit: number;
  29. marker?: unknown;
  30. transactions: AccountTransaction[];
  31. validated?: boolean;
  32. };
  33. }
  34. export {};
  35. //# sourceMappingURL=accountTx.d.ts.map