Bitcoin Forum
May 04, 2024, 11:48:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Bitcoin address balance checker.  (Read 364 times)
examplens
Legendary
*
Offline Offline

Activity: 3276
Merit: 3165


Crypto Swap Exchange


View Profile WWW
May 19, 2020, 05:42:04 PM
 #21

Well, I am surprised, there is an option for many major currencies.
It seems does not work for me. I just send some BTC, but I did not receive any notification.
The bot also does not read my regular balances on the added address.
First you need to give them the address and then they will ask you to chose which coin and you chose Bitcoin to activate the notifications. Mine s working fine. Reveived three notificaions for two tx. My guess is one tx was rebroadcased because the fees was low or I would have two notifications for two tx.

I guess remove the bot and then add it again. Hopefully it will work.

Of course, I know that I need to add address and connected them with the proper coin. Done it all, but nothing after the first transaction.
I added some other coins, I will follow how it works with them.
Is it your address segwit?

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
1714866484
Hero Member
*
Offline Offline

Posts: 1714866484

View Profile Personal Message (Offline)

Ignore
1714866484
Reply with quote  #2

1714866484
Report to moderator
1714866484
Hero Member
*
Offline Offline

Posts: 1714866484

View Profile Personal Message (Offline)

Ignore
1714866484
Reply with quote  #2

1714866484
Report to moderator
1714866484
Hero Member
*
Offline Offline

Posts: 1714866484

View Profile Personal Message (Offline)

Ignore
1714866484
Reply with quote  #2

1714866484
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.
1714866484
Hero Member
*
Offline Offline

Posts: 1714866484

View Profile Personal Message (Offline)

Ignore
1714866484
Reply with quote  #2

1714866484
Report to moderator
1714866484
Hero Member
*
Offline Offline

Posts: 1714866484

View Profile Personal Message (Offline)

Ignore
1714866484
Reply with quote  #2

1714866484
Report to moderator
PrimeNumber7
Copper Member
Legendary
*
Offline Offline

Activity: 1624
Merit: 1899

Amazon Prime Member #7


View Profile
May 19, 2020, 06:25:07 PM
 #22


And again, it will be limited to 5k requests/month until/unless people get more interest in this and I try to find a different solution.
Are you using a block explorer API to obtain the balance? Or do you have a DB with each address’ balance?

I would think you would hit your 5k request/month limit fairly quickly considering that each time this page is viewed, it is querying your site 6 times.

I was discussing creating an API for someone who wanted to be able to query the balance of any address a few months ago. He ended up ghosting me (and I strongly suspect creating additional accounts asking for help with various aspects of this project) before we could arrange for escrow to hold payment. I had created basic pseudo code for importing address balances into a DB. Querying a DB shouldn’t be difficult and it shouldn’t be difficult to monitor the bitcoin price on an ongoing basis.
TryNinja
Legendary
*
Offline Offline

Activity: 2828
Merit: 6977



View Profile WWW
May 19, 2020, 06:47:35 PM
 #23

Are you using a block explorer API to obtain the balance? Or do you have a DB with each address’ balance?

I would think you would hit your 5k request/month limit fairly quickly considering that each time this page is viewed, it is querying your site 6 times.

I was discussing creating an API for someone who wanted to be able to query the balance of any address a few months ago. He ended up ghosting me (and I strongly suspect creating additional accounts asking for help with various aspects of this project) before we could arrange for escrow to hold payment. I had created basic pseudo code for importing address balances into a DB. Querying a DB shouldn’t be difficult and it shouldn’t be difficult to monitor the bitcoin price on an ongoing basis.
The limit is only to grab the value in USD of an address or the amount in BTC worth of a certain amount (/price/ endpoint). All of these features use BitcoinAverage's API which is limited. I could easily cache the price, like Loyce said, which is what I will probably do soon.

For the balance, there is no limit. And no, I don't save any balance of the addresses. When the image is generated, my server pings Blockstream's explorer API and get the balance of the address (where there is no visible limit).

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
PrimeNumber7
Copper Member
Legendary
*
Offline Offline

Activity: 1624
Merit: 1899

Amazon Prime Member #7


View Profile
May 19, 2020, 07:18:00 PM
 #24

Are you using a block explorer API to obtain the balance? Or do you have a DB with each address’ balance?

I would think you would hit your 5k request/month limit fairly quickly considering that each time this page is viewed, it is querying your site 6 times.

I was discussing creating an API for someone who wanted to be able to query the balance of any address a few months ago. He ended up ghosting me (and I strongly suspect creating additional accounts asking for help with various aspects of this project) before we could arrange for escrow to hold payment. I had created basic pseudo code for importing address balances into a DB. Querying a DB shouldn’t be difficult and it shouldn’t be difficult to monitor the bitcoin price on an ongoing basis.
The limit is only to grab the value in USD of an address or the amount in BTC worth of a certain amount (/price/ endpoint). All of these features use BitcoinAverage's API which is limited. I could easily cache the price, like Loyce said, which is what I will probably do soon.

For the balance, there is no limit. And no, I don't save any balance of the addresses. When the image is generated, my server pings Blockstream's explorer API and get the balance of the address (where there is no visible limit).
Most major exchanges have API endpoints that you could connect to that display the “last” price on their exchange. I also believe futures exchanges have endpoints that return the reference index price. I wouldn’t think they would have limits you would reasonably hit.
AB de Royse777 (OP)
Legendary
*
Offline Offline

Activity: 2478
Merit: 3893


Hire Bitcointalk Camp. Manager @ r7promotions.com


View Profile WWW
May 19, 2020, 07:58:34 PM
 #25

Is it your address segwit?
Yes, it this one: 3Covid19s5zLNzQHGGLBeqkizwApUb19bj
An hour ago there was another TX and I got notified too. Not sure what is going on in your side.

Edit:

One thing I noticed is that it gives more than one notification for some tx. I am still new and may be need more time to figure it out.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
examplens
Legendary
*
Offline Offline

Activity: 3276
Merit: 3165


Crypto Swap Exchange


View Profile WWW
May 20, 2020, 02:23:06 PM
 #26

It works, finally. But it seems only to an incoming transaction. I tested with sending BTC and there aren't notifications. I think the problem is here.
I must confirm one great stuff here, I receive some tokens on my ETH address and notifications working with them. It is better than Etherscan, which have options only for Ethereum.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
AB de Royse777 (OP)
Legendary
*
Offline Offline

Activity: 2478
Merit: 3893


Hire Bitcointalk Camp. Manager @ r7promotions.com


View Profile WWW
May 20, 2020, 02:39:45 PM
 #27

It works, finally. But it seems only to an incoming transaction. I tested with sending BTC and there aren't notifications. I think the problem is here.

Excuse my fat finger :-p
In my case I received notification for both incoming and outgoing tx. Strange things are happening in your side :-D

I have not tested it with any other coin though.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16596


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
July 26, 2021, 05:53:51 AM
 #28

@TryNinja: is this no longer working? I mean: can you fix it? Cheesy

TryNinja
Legendary
*
Offline Offline

Activity: 2828
Merit: 6977



View Profile WWW
July 26, 2021, 06:19:36 AM
Merited by LoyceV (1)
 #29

@TryNinja: is this no longer working? I mean: can you fix it? Cheesy
Sorry, it went down when my VPS shit the bed and I totally forgot to put it back online. Grin

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Timelord2067
Legendary
*
Offline Offline

Activity: 3668
Merit: 2217


💲🏎️💨🚓


View Profile
July 30, 2021, 03:47:02 PM
 #30

I didn't see this thread when it came out, however, I'd just like to make mention of one tool I use for posting the price of bitcoin or the amount of bitcoin in terms of a given fiat as exampled in this quote from my Lightning Loans thread:

Mainnet LN loans are also down to BTC 0.00002 and BTC 0.0000202 repayment if more than 24 hours lent.

At one point in the past, the images stopped working.  I was able to get them going by adding an "S" to the http at the beginning of the URL i.e. https

The above are configurable either on the website https://youmeandbtc.com/bitcoin-converter or tweeking the code.

(and yes, it doesn't check balances, but it can complement your project never-the-less)

Pages: « 1 [2]  All
  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!