Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: andrehorta on June 18, 2013, 10:58:51 PM



Title: Blockchain - API - error
Post by: andrehorta on June 18, 2013, 10:58:51 PM
Dears

I have on error with blockchain API:

1) https://blockchain.info/pt/merchant/f18fcf54-f31e-25e5-050c-a782f5d17810/balance?password=XXX

Return: {"balance":100000000}

2) https://blockchain.info/pt/merchant/f18fcf54-f31e-25e5-050c-a782f5d17810/address_balance?password=XXX&address=17cWwW8EcSVEmxBjmrLnpWaPcE8QckeHoW&confirmations=0

Return: {"balance":300000000,"address":"17cWwW8EcSVEmxBjmrLnpWaPcE8QckeHoW","total_received":1254400000}

Where is the error? The address 17cWwW8EcSVEmxBjmrLnpWaPcE8QckeHoW is an address of wallet f18fcf54-f31e-25e5-050c-a782f5d17810. When i consult the address with api (number 2), return the address has 3 BTC of balance, but the correct is only 1, like when i consult by wallet (number 1).

To reproduce this, just send 3 btc to the address (of some wallet) and send 3BTC from this wallet to another address (use blockchain API).

How can i fix the balance of this address? This is very important to me!


Title: Re: Blockchain - API - error
Post by: jackjack on June 18, 2013, 11:03:34 PM
Rename to blockchain DOT INFO and move this from here, it has nothing to do with Bitcoin

Quote
Development & Technical Discussion
Technical discussion about Satoshi's Bitcoin client and the Bitcoin network in general. No third-party sites/clients, bug reports that do not require much discussion (use github), or support requests.


Title: Re: Blockchain - API - error
Post by: Remember remember the 5th of November on June 18, 2013, 11:14:03 PM
Rename to blockchain DOT INFO and move this from here, it has nothing to do with Bitcoin

Quote
Development & Technical Discussion
Technical discussion about Satoshi's Bitcoin client and the Bitcoin network in general. No third-party sites/clients, bug reports that do not require much discussion (use github), or support requests.
I was going to say the exact same thing. I was going to quote ethoteipi, but since I couldn't find him, I sincerely ask piuk to educate his users before they start roaming here.

Blockchain.info == website/web wallet. Blockchain == it's what makes Bitcoin possible.


Title: Re: Blockchain - API - error
Post by: andrehorta on June 18, 2013, 11:20:09 PM
Sorry


Title: Re: Blockchain - API - error
Post by: rudrigorc2 on June 18, 2013, 11:26:46 PM
Hi Andre, first, dont be sorry. 
Anyone willing to help would rather help than say the obvious, yes, you posted in the wrong area and will be bashed, no difference from the Portuguese forum ;D

But ,

I recommend you to post about your project here and get some real feedback from the community:
https://bitcointalk.org/index.php?board=12.0


If you need support from blockchain.info try this board:
https://bitcointalk.org/index.php?topic=40264.2520