aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/eth_js.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-24 19:53:37 +0800
committerBas van Kervel <bas@ethdev.com>2015-06-30 17:20:31 +0800
commit056e9dd393eeb7ddb4f6bf3e508228e1874bc94e (patch)
treef21087dbe1e6a955d22b96586a9b846d3471003f /rpc/api/eth_js.go
parent9226369b5daf8c1bf738369cd838963a5d58362d (diff)
downloadgo-tangerine-056e9dd393eeb7ddb4f6bf3e508228e1874bc94e.tar.gz
go-tangerine-056e9dd393eeb7ddb4f6bf3e508228e1874bc94e.tar.zst
go-tangerine-056e9dd393eeb7ddb4f6bf3e508228e1874bc94e.zip
added eth.pendingTransactions
Diffstat (limited to 'rpc/api/eth_js.go')
-rw-r--r--rpc/api/eth_js.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/rpc/api/eth_js.go b/rpc/api/eth_js.go
index e1268eb76..8d0fe8f0a 100644
--- a/rpc/api/eth_js.go
+++ b/rpc/api/eth_js.go
@@ -15,6 +15,14 @@ web3._extend({
inputFormatter: [web3._extend.formatters.formatInputString,web3._extend.formatters.formatInputString],
outputFormatter: web3._extend.formatters.formatOutputString
})
+ ],
+ properties:
+ [
+ new web3._extend.Property({
+ name: 'pendingTransactions',
+ getter: 'eth_pendingTransactions',
+ outputFormatter: function(obj) { return obj; }
+ })
]
});
`