diff --git a/docs/src/guides/api.md b/docs/src/guides/api.md
index f53f77afc0..f5dda88ce4 100644
--- a/docs/src/guides/api.md
+++ b/docs/src/guides/api.md
@@ -5129,4 +5129,4 @@ curl -s -H "Accept: application/json" \
See [Recursion](../inscriptions/recursion.md) for an explanation of these.
-{{#include ../inscriptions/recursion.md:35:3429}}
+{{#include ../inscriptions/recursion.md:35:3483}}
diff --git a/docs/src/inscriptions/recursion.md b/docs/src/inscriptions/recursion.md
index 7821476864..8b8c6dd080 100644
--- a/docs/src/inscriptions/recursion.md
+++ b/docs/src/inscriptions/recursion.md
@@ -3399,6 +3399,30 @@ Hello, world!
+
+
+ GET
+ /r/tx/<TRANSACTION_ID>
+
+
+### Description
+
+Get hex-encoded transaction with ``. In the event of a future
+change to Bitcoin that changes transaction serialization in a
+backwards-incompatible fashion, such as SegWit, this endpoint is guaranteed to
+remain backwards compatible.
+
+### Example
+
+```bash
+curl -s http://0.0.0.0:80/r/tx/60bcf821240064a9c55225c4f01711b0ebbcab39aa3fafeefe4299ab158536fa
+```
+
+```json
+"0100000000010183572872dcb32bee57003d53c2b8dbb5bc5819ff6478052599911f7778d1c7bd0000000000fdffffff011027000000000000225120e41e0cba05c6ac797cf543ff9a6c619a91a53813e59146d1e32ea89747b111a603407aa50d93d6fc01265fd52d3edc93af4e009ccc1a704ce1b5cb8ede1412a5df31eba587d080b3dc903ceb9002ed9d921aad323fd44d7b4dc2a1ad2ea12d4360424d20c7a3a38df198a4fcde7d5dac5819ed19ff4d25bb893c9511f8e1f51d59326effac0063036f7264010118746578742f706c61696e3b636861727365743d7574662d3800077072696d65730a6821c1c7a3a38df198a4fcde7d5dac5819ed19ff4d25bb893c9511f8e1f51d59326eff00000000"
+```
+
+
GET
diff --git a/src/index.rs b/src/index.rs
index 390a0ad43d..55541a8198 100644
--- a/src/index.rs
+++ b/src/index.rs
@@ -1615,6 +1615,19 @@ impl Index {
self.client.get_raw_transaction(&txid, None).into_option()
}
+ pub fn get_transaction_hex_recursive(&self, txid: Txid) -> Result