diff --git a/packages/ethereum-indexer-server/src/server/simple.ts b/packages/ethereum-indexer-server/src/server/simple.ts index b14c860..ab5c8bd 100644 --- a/packages/ethereum-indexer-server/src/server/simple.ts +++ b/packages/ethereum-indexer-server/src/server/simple.ts @@ -134,7 +134,7 @@ export class SimpleServer { if (processorModule.contractsDataPerChain) { let chainIDAsHex; try { - chainIDAsHex = await eip1193Provider.request({method: 'eth_chainId'}); + chainIDAsHex = await eip1193Provider.request({method: 'eth_chainId'}) as `0x${string}`; } catch (err) { console.error(`could not fetch chainID`); throw err;