Browse Source

Merge pull request #69 from nodar-chkuaselidze/index-docs

Update indexing notes
v1
Buck Perley 7 years ago
committed by GitHub
parent
commit
f640198b58
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      api-docs-slate/source/includes/_coin.md
  2. 8
      api-docs-slate/source/includes/_transaction.md

9
api-docs-slate/source/includes/_coin.md

@ -1,16 +1,19 @@
# Coin
Getting coin information via APi.
Getting coin information via API.
*Coin stands for UTXO*
<aside class="info">
You need to enable <code>index-tx</code> and <code>index-address</code> in order
to lookup coins by transaction hashes and addresses, respectively.
You need to enable <code>index-address</code> in order to lookup coins by address(es).
</aside>
## Get coin by Outpoint
<aside class="info">
This API call is always available regardless indexing options.
</aside>
```javascript
let hash, index;
```

8
api-docs-slate/source/includes/_transaction.md

@ -1,9 +1,11 @@
# Transaction
Getting transaction information via APi.
Getting transaction information via API.
<aside class="info">
You need to enable <code>index-tx</code> and <code>index-address</code> in order
to lookup transactions by transaction hashes and addresses, respectively.
You need to enable <code>index-tx</code> in order
to lookup transactions by transaction hashes and also
enable <code>index-address</code> to lookup transaction by
addresses too.
</aside>
## Get tx by txhash

Loading…
Cancel
Save