Bitcoin Forum
May 10, 2024, 02:41:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Googlesheet Blockchain and API balance  (Read 90 times)
andreadefi (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
March 14, 2018, 12:03:43 PM
 #1

I wanted to create a spreadsheet (googlesheet) to monitor the balance of some Bitcoin addresses. I inserted this function in a cell:
= IMPORTDATA ("https://blockchain.info/q/addressbalance/3CzAjBqsMJZV4LLL6KSsQWuH4PbDjEaeu7") and it perfectly returns the budget in satoshi.
What I can not do is replace the address with the contents of the cells where the other addresses are, eg:
= IMPORTDATA ("https://blockchain.info/q/addressbalance/B2"), I tried different systems, like (B2) &B2, etc. but I can not find the correct format to insert the reference to the cell instead of the address.
If anyone can help me, thank you
1715308875
Hero Member
*
Offline Offline

Posts: 1715308875

View Profile Personal Message (Offline)

Ignore
1715308875
Reply with quote  #2

1715308875
Report to moderator
1715308875
Hero Member
*
Offline Offline

Posts: 1715308875

View Profile Personal Message (Offline)

Ignore
1715308875
Reply with quote  #2

1715308875
Report to moderator
1715308875
Hero Member
*
Offline Offline

Posts: 1715308875

View Profile Personal Message (Offline)

Ignore
1715308875
Reply with quote  #2

1715308875
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715308875
Hero Member
*
Offline Offline

Posts: 1715308875

View Profile Personal Message (Offline)

Ignore
1715308875
Reply with quote  #2

1715308875
Report to moderator
1715308875
Hero Member
*
Offline Offline

Posts: 1715308875

View Profile Personal Message (Offline)

Ignore
1715308875
Reply with quote  #2

1715308875
Report to moderator
starmyc
Full Member
***
Offline Offline

Activity: 198
Merit: 130

Some random software engineer


View Profile
March 16, 2018, 10:29:43 PM
 #2

Hello,

Did you try CONCATENATE ?

The following works:

Code:
= IMPORTDATA (CONCATENATE("https://blockchain.info/q/addressbalance/",J24))

(with your address in J24, in this case)

Hi, I'm just some random software engineer.
You can check my projects: Bitcoin & altcoin balances/addresses listing dumps: https://balances.crypto-nerdz.org/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!