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.

accountChannels.d.ts 1014B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import { LedgerIndex } from '../common';
  2. import { BaseRequest, BaseResponse } from './baseMethod';
  3. interface Channel {
  4. account: string;
  5. amount: string;
  6. balance: string;
  7. channel_id: string;
  8. destination_account: string;
  9. settle_delay: number;
  10. public_key?: string;
  11. public_key_hex?: string;
  12. expiration?: number;
  13. cancel_after?: number;
  14. source_tab?: number;
  15. destination_tag?: number;
  16. }
  17. export interface AccountChannelsRequest extends BaseRequest {
  18. command: 'account_channels';
  19. account: string;
  20. destination_account?: string;
  21. ledger_hash?: string;
  22. ledger_index?: LedgerIndex;
  23. limit?: number;
  24. marker?: unknown;
  25. }
  26. export interface AccountChannelsResponse extends BaseResponse {
  27. result: {
  28. account: string;
  29. channels: Channel[];
  30. ledger_hash: string;
  31. ledger_index: number;
  32. validated?: boolean;
  33. limit?: number;
  34. marker?: unknown;
  35. };
  36. }
  37. export {};
  38. //# sourceMappingURL=accountChannels.d.ts.map