diff --git a/packages/experimental/src.ts/eip1193-bridge.ts b/packages/experimental/src.ts/eip1193-bridge.ts index 86e53350f4..cf57f6c262 100644 --- a/packages/experimental/src.ts/eip1193-bridge.ts +++ b/packages/experimental/src.ts/eip1193-bridge.ts @@ -59,7 +59,7 @@ export class Eip1193Bridge extends EventEmitter { } case "eth_chainId": { const result = await this.provider.getNetwork(); - return result.chainId; + return ethers.utils.hexValue(result.chainId); } case "eth_getBalance": { const result = await this.provider.getBalance(params[0], params[1]);