Variable tokenSchemaConst
tokenSchema: ZodObject<
{
address: ZodString;
chainId: ZodNumber;
decimals: ZodNumber;
extensions: ZodOptional<
ZodRecord<
ZodString,
ZodUnion<
[
ZodRecord<
ZodString,
ZodUnion<
[ZodRecord<ZodString, ZodUnion<(...)>>, ZodUnion<[(...), (...)]>],
>,
>,
ZodUnion<[ZodUnion<[ZodUnion<(...)>, ZodUndefined]>, ZodBigInt]>,
],
>,
>,
>;
logoURI: ZodOptional<ZodString>;
name: ZodString;
symbol: ZodString;
},
"strip",
ZodTypeAny,
{
address: string;
chainId: number;
decimals: number;
extensions?: Record<
string,
| undefined
| null
| string
| number
| bigint
| boolean
| Record<
string,
| undefined
| null
| string
| number
| bigint
| boolean
| Record<string, undefined | null | string | number | bigint | boolean>,
>,
>;
logoURI?: string;
name: string;
symbol: string;
},
{
address: string;
chainId: number;
decimals: number;
extensions?: Record<
string,
| undefined
| null
| string
| number
| bigint
| boolean
| Record<
string,
| undefined
| null
| string
| number
| bigint
| boolean
| Record<string, undefined | null | string | number | bigint | boolean>,
>,
>;
logoURI?: string;
name: string;
symbol: string;
},
> = ...
An schema of a token object. Matches the Uniswap token type.