aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/ext
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-13 22:37:47 +0800
committerobscuren <geffobscura@gmail.com>2014-05-13 22:37:47 +0800
commit1adfc272a856d466e3d513522ee2fa83853b08ab (patch)
tree1618746391e6302d65401581e9804b7900cfbd45 /ethereal/assets/ext
parent721d3a9a57fbc7478255d52271531f001375b863 (diff)
parent9caf53f8c63cb30a174d2b33ef85176c8f6f8204 (diff)
downloaddexon-1adfc272a856d466e3d513522ee2fa83853b08ab.tar
dexon-1adfc272a856d466e3d513522ee2fa83853b08ab.tar.gz
dexon-1adfc272a856d466e3d513522ee2fa83853b08ab.tar.bz2
dexon-1adfc272a856d466e3d513522ee2fa83853b08ab.tar.lz
dexon-1adfc272a856d466e3d513522ee2fa83853b08ab.tar.xz
dexon-1adfc272a856d466e3d513522ee2fa83853b08ab.tar.zst
dexon-1adfc272a856d466e3d513522ee2fa83853b08ab.zip
Merge branch 'release/poc5-rc4'
Diffstat (limited to 'ethereal/assets/ext')
-rw-r--r--ethereal/assets/ext/ethereum.js17
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 = {}