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.

utils.d.ts 966B

12345678910111213141516171819202122
  1. import * as common from '../common';
  2. import { Memo } from '../common/types/objects';
  3. import { Instructions, Prepare, TransactionJSON } from './types';
  4. import { RippleAPI } from '..';
  5. export declare type ApiMemo = {
  6. MemoData?: string;
  7. MemoType?: string;
  8. MemoFormat?: string;
  9. };
  10. declare function setCanonicalFlag(txJSON: TransactionJSON): void;
  11. export interface ClassicAccountAndTag {
  12. classicAccount: string;
  13. tag: number | false | undefined;
  14. }
  15. declare function getClassicAccountAndTag(Account: string, expectedTag?: number): ClassicAccountAndTag;
  16. declare function prepareTransaction(txJSON: TransactionJSON, api: RippleAPI, instructions: Instructions): Promise<Prepare>;
  17. declare function convertStringToHex(string: string): string;
  18. declare function convertMemo(memo: Memo): {
  19. Memo: ApiMemo;
  20. };
  21. export { convertStringToHex, convertMemo, prepareTransaction, common, setCanonicalFlag, getClassicAccountAndTag };
  22. //# sourceMappingURL=utils.d.ts.map