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.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ethereal/assets/ethereum.js b/ethereal/assets/ethereum.js
index e83d252b2..8f1a60300 100644
--- a/ethereal/assets/ethereum.js
+++ b/ethereal/assets/ethereum.js
@@ -36,11 +36,14 @@ window.eth = {
postData({call: "getKey"}, cb);
},
-
getBalanceAt: function(address, cb) {
postData({call: "getBalance", args: [address]}, cb);
},
+ getSecretToAddress: function(sec, cb) {
+ postData({call: "getSecretToAddress", args: [sec]}, cb);
+ },
+
watch: function(address, storageAddrOrCb, cb) {
var ev;
if(cb === undefined) {