diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go
index 948d659c2bdd8c224c2adaf1862879867d13b62b..44fabd6abb4bf46875e20396aadc6620af61b873 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -208,8 +208,8 @@ web3._extend({
 			params: 1
 		}),
 		new web3._extend.Method({
-			name: 'traceBlockByFile',
-			call: 'debug_traceBlockByFile',
+			name: 'traceBlockFromFile',
+			call: 'debug_traceBlockFromFile',
 			params: 1
 		}),
 		new web3._extend.Method({