Fix comments on the Insight and UTXO docs

This commit is contained in:
Esteban Ordano 2015-01-02 17:03:52 -03:00
parent f56ddb2a0a
commit 2284eec829
3 changed files with 4 additions and 6 deletions

View File

@ -29,9 +29,7 @@ To get started, just `npm install bitcore` or `bower install bitcore`.
* [Interface to the Bitcoin P2P network](peer.md)
* [Managing a pool of peers](pool.md)
* [Connecting to a bitcoind instance through JSON-RPC](jsonrpc.md)
## Blockchain Explorers
* [Insight](insight.md)
* [Connecting to a Insight instance to retrieve informetion](insight.md)
## Extra
* [Crypto](crypto.md)

View File

@ -1,11 +1,11 @@
title: Insight Explorer
description: Allows users to fetch information about the state of the blockchain from a trusted Insight server.
description: Provides an interface to fetch information about the state of the blockchain from a trusted Insight server.
---
# Insight
## Description
`bitcore.transport.explorers.Insight` is a simple agent to perform queries to the blockchain. There are currently two methods (the API will grow as features are requested): `getUnspentUtxos` and `broadcast`.
`bitcore.transport.explorers.Insight` is a simple agent to perform queries to the blockchain. There are currently two methods (the API will grow as features are requested): `getUnspentUtxos` and `broadcast`. The default servers are `https://insight.bitpay.com` and `https://test-insight.bitpay.com`, hosted by BitPay Inc.
### Retrieving Unspent UTXOs for an Address (or set of)

View File

@ -15,7 +15,7 @@ description: A stateless model to represent an unspent output and associated inf
The constructor is quite permissive with the input arguments. It can take outputs straight out of bitcoind's getunspent RPC call. Some of the names are not very informative for new users, so the UnspentOutput constructor also understands these aliases:
- `scriptPubKey`: just `script` is also accepted
- `amount`: expected value is in BTC, but also `satoshis` is accepted
- `amount`: expected value in BTC. If the `satoshis` alias is used, make sure to use satoshis instead of BTC.
- `vout`: this is the index of the output in the transaction, renamed to `outputIndex`
- `txid`: `txId`