Skip to content

Commit 2ae5154

Browse files
committed
Merge bitcoin/bitcoin#32842: doc: add /spenttxouts to REST-interface.md
dd99ced doc: add `/spenttxouts` to REST-interface.md (Sebastian Falbesoner) Pull request description: Seems like adding the `spenttxouts` endpoint to the REST interface description was forgotten in #32540. ACKs for top commit: maflcko: lgtm ACK dd99ced pablomartin4btc: ACK dd99ced Tree-SHA512: 9b1da9cbab914664217cc7f8792092e672518ec7f79c7670eb1c54ef94e6cd52b139e1051035ce33ad62b7b74a169e3abc793d1804760787a11a0dc269d26402
2 parents 23a00fc + dd99ced commit 2ae5154

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)