diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-13 22:37:47 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-13 22:37:47 +0800 |
commit | 1adfc272a856d466e3d513522ee2fa83853b08ab (patch) | |
tree | 1618746391e6302d65401581e9804b7900cfbd45 /ethereal/assets/ext/ethereum.js | |
parent | 721d3a9a57fbc7478255d52271531f001375b863 (diff) | |
parent | 9caf53f8c63cb30a174d2b33ef85176c8f6f8204 (diff) | |
download | go-tangerine-poc5-rc4.tar go-tangerine-poc5-rc4.tar.gz go-tangerine-poc5-rc4.tar.bz2 go-tangerine-poc5-rc4.tar.lz go-tangerine-poc5-rc4.tar.xz go-tangerine-poc5-rc4.tar.zst go-tangerine-poc5-rc4.zip |
Merge branch 'release/poc5-rc4'poc5-rc4
Diffstat (limited to 'ethereal/assets/ext/ethereum.js')
-rw-r--r-- | ethereal/assets/ext/ethereum.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ethereal/assets/ext/ethereum.js b/ethereal/assets/ext/ethereum.js index f565e58bd..d4eaf97fd 100644 --- a/ethereal/assets/ext/ethereum.js +++ b/ethereal/assets/ext/ethereum.js @@ -36,6 +36,21 @@ window.eth = { postData({call: "getKey"}, cb); }, + getTxCountAt: function(address, cb) { + postData({call: "getTxCountAt", args: [address]}, cb); + }, + getIsMining: function(cb){ + postData({call: "getIsMining"}, cb) + }, + getIsListening: function(cb){ + postData({call: "getIsListening"}, cb) + }, + getCoinBase: function(cb){ + postData({call: "getCoinBase"}, cb); + }, + getPeerCount: function(cb){ + postData({call: "getPeerCount"}, cb); + }, getBalanceAt: function(address, cb) { postData({call: "getBalance", args: [address]}, cb); }, @@ -115,6 +130,8 @@ window.eth = { } } }, + + } window.eth._callbacks = {} window.eth._onCallbacks = {} |