您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

schemas.js 516B

12345678
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.xrp_transaction_hash_schema = exports.xrp_address_schema = void 0;
  4. const zod_1 = require("zod");
  5. const protocol_constants_1 = require("./protocol.constants");
  6. const xrpio_1 = require("xrpio");
  7. exports.xrp_address_schema = zod_1.z.string().regex(protocol_constants_1.XRP_ADDRESS, "Not a valid XRP address");
  8. exports.xrp_transaction_hash_schema = zod_1.z.string().regex(xrpio_1.NON_ZERO_TX_HASH, "Not a valid XRP transaction hash");