added txpool API

This commit is contained in:
Bas van Kervel
2015-06-10 10:37:10 +02:00
committed by Bas van Kervel
parent c6c443385b
commit 87b62f75a7
4 changed files with 91 additions and 1 deletions

18
rpc/api/txpool_js.go Normal file
View File

@ -0,0 +1,18 @@
package api
const TxPool_JS = `
web3._extend({
property: 'txpool',
methods:
[
],
properties:
[
new web3._extend.Property({
name: 'status',
getter: 'txpool_status',
outputFormatter: function(obj) { return obj; }
})
]
});
`