diff --git a/src/handler.ts b/src/handler.ts index 66be301..699fa54 100644 --- a/src/handler.ts +++ b/src/handler.ts @@ -48,6 +48,7 @@ export async function handleRequest(request: Request) { 'eth_submitWork', 'eth_submitHashrate', 'eth_getProof', + 'eth_feeHistory', ]; const httpClient = new HttpClient(url, { diff --git a/src/httpClient.ts b/src/httpClient.ts index f259cd2..9ec2147 100644 --- a/src/httpClient.ts +++ b/src/httpClient.ts @@ -72,6 +72,9 @@ export class HttpClient { case "eth_getStorageAt": defaultBlock = params[2]; break; + case "eth_feeHistory": + defaultBlock = params[1]; + break; }; switch (defaultBlock) {