Bitcoin Forum
May 23, 2024, 03:26:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain API help?  (Read 741 times)
YouMC (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
January 13, 2016, 08:47:43 AM
 #1

Hi. Not sure if this is the right topic, but whatever Tongue

I am trying to make something where i need to send many microtransactions. (<10000 satoshi)

The thing is, when i send any sort of transaction using an APi, i can't send any others unless the previous one is confirmed.

I get this error: {"error":"Insufficient Funds Available: 0 Needed: 10010"}

Anyone knows a way how to send money, and be able to send more without waiting the first one to get confirmed?

P.S: I sent it with a good fee: 0.0001 BTC
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
January 13, 2016, 11:40:32 AM
 #2

If the API does not allow to use unconfirmed inputs to be used there is nothing you can do but switch do a different API or use bitcoin core directly. It might be risky to use unconfirmed inputs though.

Im not really here, its just your imagination.
RocketSingh
Legendary
*
Offline Offline

Activity: 1662
Merit: 1050


View Profile
January 13, 2016, 12:21:11 PM
 #3

Are you using blockcypher API ?

YouMC (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
January 13, 2016, 04:00:26 PM
 #4

If the API does not allow to use unconfirmed inputs to be used there is nothing you can do but switch do a different API or use bitcoin core directly. It might be risky to use unconfirmed inputs though.

I am not receiving the payments.

When i try sending money from a wallet it sends it successfully, but i cant send another transaction unless the first one is confirmed. I want to be able to use the remaining money to send another transaction without waiting first one to confirm.
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
January 13, 2016, 04:28:47 PM
 #5

If the API does not allow to use unconfirmed inputs to be used there is nothing you can do but switch do a different API or use bitcoin core directly. It might be risky to use unconfirmed inputs though.

I am not receiving the payments.

When i try sending money from a wallet it sends it successfully, but i cant send another transaction unless the first one is confirmed. I want to be able to use the remaining money to send another transaction without waiting first one to confirm.

Yes, you want to spend unconfirmed inputs. You "receive" change the same way you receive payments from someone else. You can somewhat mitigate this if you have several inputs available, but that might make your transactions bigger (in byte) and thus more expensive (in fees) over time.

Im not really here, its just your imagination.
BTCMINERSdotINFO
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
January 13, 2016, 07:19:21 PM
 #6

how about blockhain api V2?
YouMC (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
January 14, 2016, 05:09:50 AM
 #7

how about blockhain api V2?
Haven't tried it yet. But i guess i'll have to.
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!