diff --git a/js/lbry.js b/js/lbry.js index 4be044fb0..76bd21a81 100644 --- a/js/lbry.js +++ b/js/lbry.js @@ -179,10 +179,17 @@ lbry.getMyClaim = function(name, callback) { lbry.call('get_my_claim', { name: name }, callback); } -lbry.getCostEstimate = function(name, callback) { +lbry.getKeyFee = function(name, callback) { lbry.call('get_est_cost', { name: name }, callback); } +lbry.getTotalCost = function(name, size, callback) { + lbry.call('get_est_cost', { + name: name, + size: size, + }, callback); +} + lbry.getPeersForBlobHash = function(blobHash, callback) { lbry.call('get_peers_for_hash', { blob_hash: blobHash }, callback) }