<p>"confirmed" in this case means the transaction is included in at least one block that belongs to the current best chain. </p>

<p>If you want to find out exactly how many confirmations each transaction has you can use <code>fetch-history</code> to get a full list of all transactions sent to and from your address. <code>fetch-history</code> will return the block number that the transaction has been included in. You can then use that along with the current height to figure out how many confirmations your transaction has. </p>

<pre><code>bx fetch-history 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
bx fetch-height
</code></pre>

CC BY-SA 3.0
2017-02-12T15:59:52.443Z
2017-02-12T15:59:52.443Z
lastcanal
<p>when I use bx fetch-balance I get this output:</p>

<blockquote>
  <p>$ bx fetch-balance 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa</p>
  
  <p>balance {
      address 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
      confirmed 1538241483
      received 6538241483
      unspent 6538241483 }</p>
</blockquote>

<p>it doesn't show the number of confirmations.</p>

<p>how can I check the number of confirmations using bx command?</p>

CC BY-SA 3.0
2016-12-12T08:15:54.060Z
Is this a bitcoin core api ?
Shabahat M. Ayubi
CC BY-SA 3.0
2017-02-12T16:00:45.040Z
`bx` is libbitcoin-explorer: https://github.com/libbitcoin/libbitcoin-explorer
lastcanal
<address>
Bitcoin library - how to check number of confirmations
max
# Bitcoin library - how to check number of confirmations

(Asked by: username_0 on 2016-12-11)

when I use bx fetch-balance I get this output:

> $ bx fetch-balance 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
>
> balance {
> address 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
> confirmed 1538241483
> received 6538241483
> unspent 6538241483 }

it doesn't show the number of confirmations.

how can I check the number of confirmations using bx command?

**Tags:** address

> **Comments:**
> **username_1**: Is this a bitcoin core api ?  
> **username_2**: `bx` is libbitcoin-explorer: https://github.com/libbitcoin/libbitcoin-explorer  

---

## 1 answers

### Answer by username_2 on 2017-02-12. Score: 2

"confirmed" in this case means the transaction is included in at least one block that belongs to the current best chain.

If you want to find out exactly how many confirmations each transaction has you can use `fetch-history` to get a full list of all transactions sent to and from your address. `fetch-history` will return the block number that the transaction has been included in. You can then use that along with the current height to figure out how many confirmations your transaction has.

```
bx fetch-history 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
bx fetch-height

```


---

