Files
bitcoin-mirror/doc/release-notes-36251.md
0xb10c 1566a4767a rest: add generated and height to spenttxouts JSON
This adds the `generated` and `height` fields to the JSON REST
endpoint `/rest/spenttxouts/BLOCKHASH.json` to match the prevout
output of the getblock RPC with verbosity 3. The information for
these fields is already available, but just was not exposed.

The binary and hex formats aren't changed (here) to not break
backwards compatibility with consumers of these endpoints. See the
discussion in https://github.com/bitcoin/bitcoin/pull/32540#issuecomment-5665279713
2026-09-14 17:46:23 +02:00

332 B

Updated REST APIs

  • The /rest/spenttxouts/BLOCKHASH.json endpoint now includes the generated (whether the previous output is a coinbase output) and height fields for each previous output, matching the prevout objects of the getblock RPC with verbosity 3. The binary and hex formats are unchanged.