diff options
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/javascript.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rpc/javascript.go b/rpc/javascript.go index 166a5289c..475691a87 100644 --- a/rpc/javascript.go +++ b/rpc/javascript.go @@ -328,6 +328,16 @@ web3._extend({ outputFormatter: console.log }), new web3._extend.Method({ + name: 'memStats', + call: 'debug_memStats', + params: 0, + }), + new web3._extend.Method({ + name: 'gcStats', + call: 'debug_gcStats', + params: 0, + }), + new web3._extend.Method({ name: 'cpuProfile', call: 'debug_cpuProfile', params: 2 |