aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/debug_js.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api/debug_js.go')
-rw-r--r--rpc/api/debug_js.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpc/api/debug_js.go b/rpc/api/debug_js.go
index 35fecb75f..e48e4df06 100644
--- a/rpc/api/debug_js.go
+++ b/rpc/api/debug_js.go
@@ -50,6 +50,11 @@ web3._extend({
],
properties:
[
+ new web3._extend.Property({
+ name: 'metrics',
+ getter: 'debug_metrics',
+ outputFormatter: function(obj) { return obj; }
+ })
]
});
`