diff --git a/README.md b/README.md index 5597b25..9b7e2eb 100644 --- a/README.md +++ b/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/`, 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: