<p>Is there a way to get blockchain.info API call to know when the network sees an unconfirmed transaction? I'm also interested in any other method to get this result.</p>

<p>The API works fine on the first confirmation but I need a faster method; I can't use bitcoind.</p>

<p>Here's an example that uses chain.so. (I'd prefer to use blockchain.info for all my queries)</p>

<p>here is an address that has 1 BTC unconfirmed transaction by the time of writing:
12gZ9aUaQbu7Pnguot6aKKjuuzQyY15VAE</p>

<p>the API call is : <a href="https://chain.so/api/v2/get_address_received/btc/12gZ9aUaQbu7Pnguot6aKKjuuzQyY15VAE" rel="nofollow">https://chain.so/api/v2/get_address_received/btc/12gZ9aUaQbu7Pnguot6aKKjuuzQyY15VAE</a></p>

<p>and the output is :</p>

<pre><code>{
  "status": "success",
  "data": {
    "network": "BTC",
    "address": "12gZ9aUaQbu7Pnguot6aKKjuuzQyY15VAE",
    "confirmed_received_value": "0.00000000",
    "unconfirmed_received_value": "1.00000000"
  }
}
</code></pre>

<p><code>unconfirmed_recieved_value</code> is what I need.</p>

CC BY-SA 3.0
2014-10-22T21:53:37.537Z
blockchain.info doesn't have a callback for that, unless you're talking about their receive payments API. What do you mean by 'bestchain'? I assume that you're asking about the best blockchain, but you also say that you're asking for something faster than first confirmation.
Nick ODell
CC BY-SA 3.0
2014-10-22T22:19:22.177Z
bestchain is the longest blockchain that has not been confirmed yet. what I need is a api call that I can check if a transaction has been added to the best chain yet or not, let's say if it's in pre-confirmed state or not.
Shayan
CC BY-SA 3.0
2014-10-22T22:21:24.930Z
Blocks are not confirmed - blocks confirm transactions.
Nick ODell
CC BY-SA 3.0
2014-10-22T22:24:18.310Z
I may had some mistakes with my wording but what I mean is that when a transaction is seen by the network.
Shayan
CC BY-SA 3.0
2014-10-23T03:52:56.113Z
Also - do you want this to trigger on any transaction, or just to transactions to one of your addresses?
Nick ODell
CC BY-SA 3.0
2014-10-23T18:15:56.197Z
If there would be a way to query on an address to see if there is an unconfirmed amount on the account, that's what I need. I added an example to the question
Shayan
<blockchain.info>
API Call when a transaction is unconfirmed
Shayan
# API Call when a transaction is unconfirmed

(Asked by: username_0 on 2014-10-22)

Is there a way to get blockchain.info API call to know when the network sees an unconfirmed transaction? I'm also interested in any other method to get this result.

The API works fine on the first confirmation but I need a faster method; I can't use bitcoind.

Here's an example that uses chain.so. (I'd prefer to use blockchain.info for all my queries)

here is an address that has 1 BTC unconfirmed transaction by the time of writing:
12gZ9aUaQbu7Pnguot6aKKjuuzQyY15VAE

the API call is : <https://chain.so/api/v2/get_address_received/btc/12gZ9aUaQbu7Pnguot6aKKjuuzQyY15VAE>

and the output is :

```
{
  "status": "success",
  "data": {
    "network": "BTC",
    "address": "12gZ9aUaQbu7Pnguot6aKKjuuzQyY15VAE",
    "confirmed_received_value": "0.00000000",
    "unconfirmed_received_value": "1.00000000"
  }
}

```

`unconfirmed_recieved_value` is what I need.

**Tags:** blockchain.info

> **Comments:**
> **username_1**: blockchain.info doesn't have a callback for that, unless you're talking about their receive payments API. What do you mean by 'bestchain'? I assume that you're asking about the best blockchain, but you also say that you're asking for something faster than first confirmation.  
> **username_0**: bestchain is the longest blockchain that has not been confirmed yet. what I need is a api call that I can check if a transaction has been added to the best chain yet or not, let's say if it's in pre-confirmed state or not.  
> **username_1**: Blocks are not confirmed - blocks confirm transactions.  
> **username_0**: I may had some mistakes with my wording but what I mean is that when a transaction is seen by the network.  
> **username_1**: Also - do you want this to trigger on any transaction, or just to transactions to one of your addresses?  
> **username_0**: If there would be a way to query on an address to see if there is an unconfirmed amount on the account, that's what I need. I added an example to the question  

---

## 0 answers

