-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
The API has a firewall set up that's why it's not working anymore.
I tried to change it to
response = connection:request("GET", bitcoinRequestUrl(bitcoinAddress), {})
json = JSON(response)
balance = json:dictionary()['balance']
return balance
end
-- Helper Functions
-- function convertSatoshiToBitcoin(satoshi)
-- return satoshi / 100000000
-- end
function cryptocompareRequestUrl()
return "https://api.coinmarketcap.com/v1/ticker/bitcoin/?convert=EUR"
end
function bitcoinRequestUrl(bitcoinAddress)
return "https://blockexplorer.com/api/addr/" .. bitcoinAddress .. "/"
end
But my extenstion is then not showed anymore. Someone help? Does it depend on the signature?
des-otrs
Metadata
Metadata
Assignees
Labels
No labels