Merge bitcoin/bitcoin#32842: doc: add /spenttxouts to REST-interface.md

dd99cedc0bfe7d7eee0f543bb27dab005c426c66 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 dd99cedc0bfe7d7eee0f543bb27dab005c426c66
  pablomartin4btc:
    ACK dd99cedc0bfe7d7eee0f543bb27dab005c426c66

Tree-SHA512: 9b1da9cbab914664217cc7f8792092e672518ec7f79c7670eb1c54ef94e6cd52b139e1051035ce33ad62b7b74a169e3abc793d1804760787a11a0dc269d26402
This commit is contained in:
merge-script 2025-07-01 09:38:01 +01:00
commit 2ae5154dd8
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -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.
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
`GET /rest/chaininfo.json`