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.

trustSet.d.ts 823B

12345678910111213141516171819202122232425
  1. import { IssuedCurrencyAmount } from '../common';
  2. import { BaseTransaction, GlobalFlags } from './common';
  3. export declare enum TrustSetFlags {
  4. tfSetfAuth = 65536,
  5. tfSetNoRipple = 131072,
  6. tfClearNoRipple = 262144,
  7. tfSetFreeze = 1048576,
  8. tfClearFreeze = 2097152
  9. }
  10. export interface TrustSetFlagsInterface extends GlobalFlags {
  11. tfSetfAuth?: boolean;
  12. tfSetNoRipple?: boolean;
  13. tfClearNoRipple?: boolean;
  14. tfSetFreeze?: boolean;
  15. tfClearFreeze?: boolean;
  16. }
  17. export interface TrustSet extends BaseTransaction {
  18. TransactionType: 'TrustSet';
  19. LimitAmount: IssuedCurrencyAmount;
  20. QualityIn?: number;
  21. QualityOut?: number;
  22. Flags?: number | TrustSetFlagsInterface;
  23. }
  24. export declare function validateTrustSet(tx: Record<string, unknown>): void;
  25. //# sourceMappingURL=trustSet.d.ts.map