diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-24 19:53:37 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-06-24 19:53:37 +0800 |
commit | f1a4a6e563ea72affe365d89513e5c83a35e4c28 (patch) | |
tree | a1c5f9685fd1e3cc0e21799e74c5ef216a1a9f0e /rpc/api/eth_js.go | |
parent | 22c7ce0162f2d14a7340e00e93697780c91d2087 (diff) | |
download | dexon-f1a4a6e563ea72affe365d89513e5c83a35e4c28.tar dexon-f1a4a6e563ea72affe365d89513e5c83a35e4c28.tar.gz dexon-f1a4a6e563ea72affe365d89513e5c83a35e4c28.tar.bz2 dexon-f1a4a6e563ea72affe365d89513e5c83a35e4c28.tar.lz dexon-f1a4a6e563ea72affe365d89513e5c83a35e4c28.tar.xz dexon-f1a4a6e563ea72affe365d89513e5c83a35e4c28.tar.zst dexon-f1a4a6e563ea72affe365d89513e5c83a35e4c28.zip |
added eth.pendingTransactions
Diffstat (limited to 'rpc/api/eth_js.go')
-rw-r--r-- | rpc/api/eth_js.go | 8 |
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; } + }) ] }); ` |