diff --git a/src/rpc.ts b/src/rpc.ts index abc79b9..49538da 100644 --- a/src/rpc.ts +++ b/src/rpc.ts @@ -278,6 +278,9 @@ export function createHttpRpcBaseClient(args: { e.cause.errorResponse.message.includes( "exceed maximum block range" ) || + e.cause.errorResponse.message.includes( + "query exceeds max block range" + ) || e.cause.errorResponse.message.includes("timeout")) ) { throw new JsonRpcRangeTooWideError(e);