Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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");