fix API doc
This commit is contained in:
parent
19636a5ffb
commit
8fc7001e8e
15
README.md
15
README.md
|
@ -48,7 +48,6 @@ $ npm install -g bower
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## API
|
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
Get bitcore from github repository:
|
Get bitcore from github repository:
|
||||||
|
@ -62,21 +61,23 @@ $ npm install -g bower
|
||||||
check utils/sync.js --help for options.
|
check utils/sync.js --help for options.
|
||||||
|
|
||||||
|
|
||||||
|
## API
|
||||||
|
|
||||||
|
A REST API is provided at /api. The entry points are:
|
||||||
|
|
||||||
### Blocks
|
### Blocks
|
||||||
```
|
```
|
||||||
/block/[:hash]
|
/api/block/[:hash]
|
||||||
/block/00000000a967199a2fad0877433c93df785a8d8ce062e5f9b451cd1397bdbf62
|
/api/block/00000000a967199a2fad0877433c93df785a8d8ce062e5f9b451cd1397bdbf62
|
||||||
```
|
```
|
||||||
### Transactions
|
### Transactions
|
||||||
```
|
```
|
||||||
/tx/[:txid]
|
/api/tx/[:txid]
|
||||||
/tx/525de308971eabd941b139f46c7198b5af9479325c2395db7f2fb5ae8562556c
|
/api/tx/525de308971eabd941b139f46c7198b5af9479325c2395db7f2fb5ae8562556c
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
If you did not get all library during grunt command, please use the follow command:
|
If you did not get all library during grunt command, please use the follow command:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue