mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-02 09:46:14 +00:00
This adds a "coinbase_tx" field to the getblock RPC result, starting at verbosity level 1. It contains only fields guaranteed to be small, i.e. not the outputs.
335 B
335 B
Updated RPCs
- The
getblockRPC now returns acoinbase_txobject at verbosity levels 1, 2, and 3. It containsversion,locktime,sequence,coinbaseandwitness. This allows for efficiently querying coinbase transaction properties without fetching the full transaction data at verbosity 2+. (#34512)