Relay (upcoming)
Last updated
Last updated
While index and routing services are responsible for route calculation, there's another part - transaction execution. This chapter is about that.
In practice, transaction that extracts arbitrage opportunity is pretty vulnerable to sandwich attacks and various front-running bots. To solve this problem we came up with a solution - relay service. It will broadcast a transaction and participate in PGA for user.
PGA (Price Gas Auction) is a competition, where transaction senders compete over their transaction ordering by betting with higher gas prices. Winner - is a sender, that send transaction with highest gas price that was last seen from the miner.
Correlation between the time elapsed since last block and probability of transaction inclusion: