Overview
taoflash relay is an MEV-protected transaction relay for Bittensor.
What is MEV?
MEV (Maximal Extractable Value) refers to profit extracted by reordering, inserting, or censoring transactions. Common MEV attacks include:
- Front-running — Seeing your transaction and placing one ahead of it
- Sandwich attacks — Placing transactions before and after yours to profit from price movement
How taoflash relay protects you
The relay:
- Prepares transaction parameters with MEV protection
- Queues your signed transaction
- Submits at the optimal block to minimize MEV exposure
Integration Flow
| Step | Endpoint | Description |
|---|---|---|
| 1 | POST /prepare | Get transaction parameters |
| 2 | — | Sign locally (wallet/app/extension) |
| 3 | POST /queue | Queue signed transaction |
| 4 | GET /status/:tx_id | Poll until confirmed |
Quick Links
- Integration Guide — Step-by-step integration
- Supported Transactions — Transaction types and parameters
- API Reference — Full API documentation