<p>Bitcoinjs is a software library, it is not a node and it does not connect to the network. The address typescript file you have linked is for creating addresses. If you want bitcoin transaction data such an unspent outputs you'll need to do that on your own or use a 3rd party API.</p>

CC BY-SA 4.0
2021-08-24T03:47:54.993Z
2021-08-24T03:47:54.993Z
m1xolyd1an
<p>What are some different ways to retrieve btc transaction information of an address using bitcoinjs?</p>
<p>I've tried using the syntax from this page (<a href="https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/test/integration/addresses.spec.ts" rel="nofollow noreferrer">https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/test/integration/addresses.spec.ts</a>) but didn't seem to work it out.</p>
<p>Any specific suggestions will be appreciated!</p>

<api><javascript><bitcoinjs><library>
What are some different ways to retrieve btc transaction information of an address using bitcoinjs?
jiamijiang
# What are some different ways to retrieve btc transaction information of an address using bitcoinjs?

(Asked by: username_0 on 2021-08-23)

What are some different ways to retrieve btc transaction information of an address using bitcoinjs?

I've tried using the syntax from this page (<https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/test/integration/addresses.spec.ts>) but didn't seem to work it out.

Any specific suggestions will be appreciated!

**Tags:** api, javascript, bitcoinjs, library


---

## 1 answers

### Answer by username_1 on 2021-08-24. Score: 1

Bitcoinjs is a software library, it is not a node and it does not connect to the network. The address typescript file you have linked is for creating addresses. If you want bitcoin transaction data such an unspent outputs you'll need to do that on your own or use a 3rd party API.


---

