From cdd58ee0b894dc9e3197bdb91e2447dbcd0b349a Mon Sep 17 00:00:00 2001 From: Roshan Raghupathy Date: Thu, 22 Dec 2022 11:23:37 +0530 Subject: [PATCH] add rpcs to eth namespace --- internal/ethapi/backend.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/ethapi/backend.go b/internal/ethapi/backend.go index af8f9e423..d762aab52 100644 --- a/internal/ethapi/backend.go +++ b/internal/ethapi/backend.go @@ -157,6 +157,11 @@ func GetAPIs(apiBackend Backend, chain *core.BlockChain) []rpc.API { Version: "1.0", Service: NewPrivateTxBundleAPI(apiBackend, chain), Public: false, + }, { + Namespace: "eth", + Version: "1.0", + Service: NewPrivateTxBundleAPI(apiBackend, chain), + Public: true, }, } }