From dd99cedc0bfe7d7eee0f543bb27dab005c426c66 Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Mon, 30 Jun 2025 23:20:54 +0200 Subject: [PATCH] doc: add `/spenttxouts` to REST-interface.md --- doc/REST-interface.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/REST-interface.md b/doc/REST-interface.md index fbed4a36b20..0fee78129a6 100644 --- a/doc/REST-interface.md +++ b/doc/REST-interface.md @@ -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/.` + +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`