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.

accountSet.d.ts 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. import { BaseTransaction } from './common';
  2. export declare enum AccountSetAsfFlags {
  3. asfRequireDest = 1,
  4. asfRequireAuth = 2,
  5. asfDisallowXRP = 3,
  6. asfDisableMaster = 4,
  7. asfAccountTxnID = 5,
  8. asfNoFreeze = 6,
  9. asfGlobalFreeze = 7,
  10. asfDefaultRipple = 8,
  11. asfDepositAuth = 9,
  12. asfAuthorizedNFTokenMinter = 10,
  13. asfDisallowIncomingNFTokenOffer = 12,
  14. asfDisallowIncomingCheck = 13,
  15. asfDisallowIncomingPayChan = 14,
  16. asfDisallowIncomingTrustline = 15
  17. }
  18. export declare enum AccountSetTfFlags {
  19. tfRequireDestTag = 65536,
  20. tfOptionalDestTag = 131072,
  21. tfRequireAuth = 262144,
  22. tfOptionalAuth = 524288,
  23. tfDisallowXRP = 1048576,
  24. tfAllowXRP = 2097152
  25. }
  26. export interface AccountSetFlagsInterface {
  27. tfRequireDestTag?: boolean;
  28. tfOptionalDestTag?: boolean;
  29. tfRequireAuth?: boolean;
  30. tfOptionalAuth?: boolean;
  31. tfDisallowXRP?: boolean;
  32. tfAllowXRP?: boolean;
  33. }
  34. export interface AccountSet extends BaseTransaction {
  35. TransactionType: 'AccountSet';
  36. Flags?: number | AccountSetFlagsInterface;
  37. ClearFlag?: number;
  38. Domain?: string;
  39. EmailHash?: string;
  40. MessageKey?: string;
  41. SetFlag?: AccountSetAsfFlags;
  42. TransferRate?: number;
  43. TickSize?: number;
  44. NFTokenMinter?: string;
  45. }
  46. export declare function validateAccountSet(tx: Record<string, unknown>): void;
  47. //# sourceMappingURL=accountSet.d.ts.map