mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-31 13:01:32 +02:00
doc: add /spenttxouts
to REST-interface.md
This commit is contained in:
@@ -79,6 +79,13 @@ Responds with 404 if the block doesn't exist.
|
|||||||
Given a height: returns hash of block in best-block-chain at height provided.
|
Given a height: returns hash of block in best-block-chain at height provided.
|
||||||
Responds with 404 if block not found.
|
Responds with 404 if block not found.
|
||||||
|
|
||||||
|
#### Spent transaction outputs
|
||||||
|
`GET /rest/spenttxouts/<BLOCK-HASH>.<bin|hex|json>`
|
||||||
|
|
||||||
|
Given a block hash: returns a collection of spent transaction output lists,
|
||||||
|
one per transaction in the block.
|
||||||
|
Responds with 404 if the block doesn't exist or its undo data is not available.
|
||||||
|
|
||||||
#### Chaininfos
|
#### Chaininfos
|
||||||
`GET /rest/chaininfo.json`
|
`GET /rest/chaininfo.json`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user