Alchemy Logo

BigNumberishRangeSchema

const BigNumberishRangeSchema: ZodObject<
  {
    max: ZodOptional<
      ZodUnion<
        [
          ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>,
          ZodNumber,
          ZodBigInt,
        ]
      >
    >;
    min: ZodOptional<
      ZodUnion<
        [
          ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>,
          ZodNumber,
          ZodBigInt,
        ]
      >
    >;
  },
  "strict",
  ZodTypeAny,
  {
    max?: number | bigint | `0x${string}`;
    min?: number | bigint | `0x${string}`;
  },
  {
    max?: number | bigint | `0x${string}`;
    min?: number | bigint | `0x${string}`;
  }
>;

Defined in: aa-sdk/core/src/utils/schema.ts:19

Was this page helpful?