@ledgerhq/coin-ton
Version:
13 lines • 529 B
TypeScript
import { TonComment } from "../types";
/**
* Validates a TON transaction comment (memo).
*
* Note: While this function is named `validateMemo` for consistency across
* coin modules, TON uses a "comment" instead.
* The validation checks multiple fields, not only text value.
*
* @param comment - TON comment object containing text and encryption flag
* @returns true if the comment is valid, false otherwise
*/
export declare function validateMemo(comment: TonComment): boolean;
//# sourceMappingURL=validateMemo.d.ts.map