added txpool API
This commit is contained in:
committed by
Bas van Kervel
parent
c6c443385b
commit
87b62f75a7
18
rpc/api/txpool_js.go
Normal file
18
rpc/api/txpool_js.go
Normal 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; }
|
||||
})
|
||||
]
|
||||
});
|
||||
`
|
Reference in New Issue
Block a user