<p>You can use bitcore explorers module to use Insight send transaction and get utxos data.</p>

<p>Check further <a href="https://github.com/bitpay/bitcore-explorers" rel="nofollow noreferrer">https://github.com/bitpay/bitcore-explorers</a></p>

CC BY-SA 3.0
2017-06-13T08:17:18.850Z
This works for public blockchain not a private one. However, in this month I have written my own set of APIs and parsers that replicate what Insight does to a desired extent by setting up listeners and interacting with the JSON-RPC calls in a full bitcoin node
Varun Agarwal
CC BY-SA 3.0
2017-06-12T13:31:23.713Z
2017-06-12T13:31:23.713Z
Henrique M.
<p>I know that I am late to respond you but <a href="http://jestersimpps.github.io/my-first-experience-with-bitpay-bitcore/" rel="nofollow noreferrer">link</a> helped me allot</p>

CC BY-SA 3.0
2017-10-11T09:04:59.650Z
My question is for a private network not the public bitcoin one that bitpay-bitcore offers. Either way, I wrote my own block listener that prepares a soft wallet for each address and maps it to users based on their private keys. It maintains its own mempool, utxo and miner reward list , combines them all to provide a soft wallet for any address
Varun Agarwal
CC BY-SA 3.0
2017-09-11T09:11:56.767Z
2017-09-11T09:11:56.767Z
rahul
<p>I am using <a href="https://github.com/bitpay/bitcore-lib" rel="nofollow noreferrer">this library</a> to make a wallet service that runs on a web browser. I use the library and <code>browserify</code> it so its compatible with the rest of my <code>jquery</code>. Now <a href="https://github.com/bitpay/bitcore-lib/blob/master/docs/examples.md#create-a-transaction" rel="nofollow noreferrer">this</a> tells me how to make and sign a transaction. <a href="https://bitcore.io/api/lib/unspent-output" rel="nofollow noreferrer">This</a> specifies the parameters used to make a <code>utxo</code> but I don't understand how to get the data for it. </p>

<p>It says  </p>

<blockquote>
  <p>It can take outputs straight out of bitcoind's getunspent RPC call</p>
</blockquote>

<p>My understanding is that the UTXO can be obtained only when running a full node and not from the browser, so my plan is</p>

<p>1) Send amount, receiver and sender public address to the server using <code>browserfiy</code>, <code>bitcore-lib</code> and <code>jquery</code></p>

<p>2) Server then finds <code>UTXO</code> (how?) and returns the raw transaction to the browser</p>

<p>3) Browser then prompts using to enter his private key, which is used to sign the transaction and sent to the server</p>

<p>4) Server then pushes this onto the blockchain and returns the transaction hash</p>

<p>I am not able to achieve point 2.
Now I understand that a lot of online wallets would have a similar structure but I am unable to achieve this. The blockchain used is <code>Bitcoin</code>, server side language is entirely in <code>nodejs</code>.</p>

<p>Could someone please help me out/ tag relevant links.</p>

<transactions><bitcoind><client><utxo><bitcore>
How to Get UTXO using bitcore-lib?
Varun Agarwal
# How to Get UTXO using bitcore-lib?

(Asked by: username_0 on 2017-04-18)

I am using [this library](https://github.com/bitpay/bitcore-lib) to make a wallet service that runs on a web browser. I use the library and `browserify` it so its compatible with the rest of my `jquery`. Now [this](https://github.com/bitpay/bitcore-lib/blob/master/docs/examples.md#create-a-transaction) tells me how to make and sign a transaction. [This](https://bitcore.io/api/lib/unspent-output) specifies the parameters used to make a `utxo` but I don't understand how to get the data for it.

It says

> It can take outputs straight out of bitcoind's getunspent RPC call

My understanding is that the UTXO can be obtained only when running a full node and not from the browser, so my plan is

1) Send amount, receiver and sender public address to the server using `browserfiy`, `bitcore-lib` and `jquery`

2) Server then finds `UTXO` (how?) and returns the raw transaction to the browser

3) Browser then prompts using to enter his private key, which is used to sign the transaction and sent to the server

4) Server then pushes this onto the blockchain and returns the transaction hash

I am not able to achieve point 2.
Now I understand that a lot of online wallets would have a similar structure but I am unable to achieve this. The blockchain used is `Bitcoin`, server side language is entirely in `nodejs`.

Could someone please help me out/ tag relevant links.

**Tags:** transactions, bitcoind, client, utxo, bitcore


---

## 2 answers

### Answer by username_1 on 2017-06-12. Score: 2

You can use bitcore explorers module to use Insight send transaction and get utxos data.

Check further <https://github.com/bitpay/bitcore-explorers>

> **Comments:**
> **username_0**: This works for public blockchain not a private one. However, in this month I have written my own set of APIs and parsers that replicate what Insight does to a desired extent by setting up listeners and interacting with the JSON-RPC calls in a full bitcoin node  

---

### Answer by username_2 on 2017-09-11. Score: 1

I know that I am late to respond you but [link](http://jestersimpps.github.io/my-first-experience-with-bitpay-bitcore/) helped me allot

> **Comments:**
> **username_0**: My question is for a private network not the public bitcoin one that bitpay-bitcore offers. Either way, I wrote my own block listener that prepares a soft wallet for each address and maps it to users based on their private keys. It maintains its own mempool, utxo and miner reward list , combines them all to provide a soft wallet for any address  

---

