docs: include rawblock in readme
This commit is contained in:
parent
3e40d71c51
commit
36ad6ebbbe
11
README.md
11
README.md
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user