BIP 22 (getblocktemplate)
BIP 22, found in BIP-22, introduced the getblocktemplate (GBT) call. Rather than receiving just a partially assembled block header (as in the older getwork protocol), miners get the entire block template, including transactions they can freely reorder or select.
This advancement gave miners more autonomy and transparency in choosing which transactions to include, aligning with the decentralized ethos of Bitcoin. It also improved efficiency by reducing back-and-forth communication. While GBT is more complex than getwork, it became the foundation for modern mining software and is often paired with BIP 23, which refined JSON-based block template submission.