docs: include rawblock in readme

This commit is contained in:
Braydon Fuller 2016-04-22 15:12:18 -04:00
parent 3e40d71c51
commit 36ad6ebbbe

View File

@ -25,7 +25,7 @@ The API endpoints will be available by default at: `http://localhost:3001/insigh
## Notes on Upgrading from v0.3
The unspent outputs format now has `satoshis` and `height`:
```
```json
[
{
"address":"mo9ncXisMeAoXwqcV5EWuyncbmCcQN4rVs",
@ -50,6 +50,15 @@ The unspent outputs format now has `satoshis` and `height`:
```
The `timestamp` property will only be set for unconfirmed transactions and `height` can be used for determining block order. The `confirmationsFromCache` is nolonger set or necessary, confirmation count is only cached for the time between blocks.
There is a new `GET` endpoint or raw blocks at `/rawblock/<blockArg>`, where `blockArg` can be hash or height:
Response format:
```json
{
"rawblock": "blockhexstring.."
}
```
## Notes on Upgrading from v0.2
Some of the fields and methods are not supported: