aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/ethereum.js
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/assets/ethereum.js')
-rw-r--r--ethereal/assets/ethereum.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ethereal/assets/ethereum.js b/ethereal/assets/ethereum.js
index fefad584a..0f9f68c43 100644
--- a/ethereal/assets/ethereum.js
+++ b/ethereal/assets/ethereum.js
@@ -47,6 +47,10 @@ window.eth = {
postData({call: "getKey"}, cb);
},
+ watch: function(address) {
+ postData({call: "watch", args: [address]});
+ },
+
on: function(event, cb) {
if(eth._onCallbacks[event] === undefined) {