diff --git a/src/services/adapters/SubsquidAdapter.ts b/src/services/adapters/SubsquidAdapter.ts index 38bede1..2b76998 100644 --- a/src/services/adapters/SubsquidAdapter.ts +++ b/src/services/adapters/SubsquidAdapter.ts @@ -20,7 +20,7 @@ export const SUBSQUID_ENDPOINT = 'https://squidv2s.syoul.fr/v1/graphql'; // --------------------------------------------------------------------------- const SubsquidTransferNodeSchema = z.object({ id: z.string(), - blockNumber: z.number().int().positive(), + blockNumber: z.number().int(), // peut être négatif pour les blocs Ğ1v1 migrés timestamp: z.string(), // ISO 8601 ex: "2026-03-22T14:53:36+00:00" amount: z.string(), // BigInt en string, en centimes Ğ1 fromId: z.string().nullable(),