aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'rpc')
-rw-r--r--rpc/javascript.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/rpc/javascript.go b/rpc/javascript.go
index 9e3b2218b..c145163e5 100644
--- a/rpc/javascript.go
+++ b/rpc/javascript.go
@@ -71,8 +71,16 @@ web3._extend({
properties:
[
new web3._extend.Property({
+ name: 'content',
+ getter: 'txpool_content'
+ }),
+ new web3._extend.Property({
+ name: 'inspect',
+ getter: 'txpool_inspect'
+ }),
+ new web3._extend.Property({
name: 'status',
- getter: 'txpool_status'
+ getter: 'txpool_status',
outputFormatter: function(status) {
status.pending = web3._extend.utils.toDecimal(status.pending);
status.queued = web3._extend.utils.toDecimal(status.queued);