Skip to content

Commit dd99ced

Browse files
committed
doc: add /spenttxouts to REST-interface.md
1 parent 6e5b67a commit dd99ced

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/REST-interface.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ Responds with 404 if the block doesn't exist.
7979
Given a height: returns hash of block in best-block-chain at height provided.
8080
Responds with 404 if block not found.
8181

82+
#### Spent transaction outputs
83+
`GET /rest/spenttxouts/<BLOCK-HASH>.<bin|hex|json>`
84+
85+
Given a block hash: returns a collection of spent transaction output lists,
86+
one per transaction in the block.
87+
Responds with 404 if the block doesn't exist or its undo data is not available.
88+
8289
#### Chaininfos
8390
`GET /rest/chaininfo.json`
8491

0 commit comments

Comments
 (0)