Skip to main content

index/variables/fetchTokenBalanceOptionsSchema.md

const fetchTokenBalanceOptionsSchema: z.ZodObject<{ address: z.ZodPipe<z.ZodString, z.ZodTransform<`eth|${string}` | `client|${string}`, string>>; tokenId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{ additionalKey: z.ZodString; category: z.ZodString; collection: z.ZodString; type: z.ZodString; }, z.core.$strip>, z.ZodObject<{ additionalKey: z.ZodString; category: z.ZodString; collection: z.ZodString; instance: z.ZodString; type: z.ZodString; }, z.core.$strip>]>>; tokenName: z.ZodOptional<z.ZodString>; withExpired: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>

Fetch token balance options schema Supports flexible token identification via tokenId, tokenClassKey, or tokenName