diff --git a/packages/cashu/schemas.ts b/packages/cashu/schemas.ts index f631464d..5d8a187b 100644 --- a/packages/cashu/schemas.ts +++ b/packages/cashu/schemas.ts @@ -17,7 +17,11 @@ export const proofSchema: z.ZodType<{ }); /** Decrypted content of a kind 7375 */ -export const tokenEventSchema = z.object({ +export const tokenEventSchema: z.ZodType<{ + mint: string; + proofs: Array>; + del?: string[]; +}> = z.object({ mint: z.string().url(), proofs: proofSchema.array(), del: z.string().array().optional(),