doc: add /spenttxouts to REST-interface.md

This commit is contained in:
Sebastian Falbesoner
2025-06-30 23:20:54 +02:00
parent 6e5b67a370
commit dd99cedc0b

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`