Send Transaction Conditional RPC API

This EIP proposes a new JSON-RPC API method eth_sendRawTransactionConditional for block builders and sequencers,

enhancing transaction integration by allowing users to express preconditions for transaction inclusion.

This method aims to improve efficiency by reducing the need for transaction simulation,

thereby improving the computational efficiency of transaction ordering.

1 Like

What would happen if the RPC provider cheats users?

This API can be used by users, not only services.
It is equivalent to “flashbots” private API.
The difference is that the service provider has a light check to know if the transaction might fail, and thus is not required to perform full tracing.
Once a transaction pass the validation, the provider should fully trace it. In case the transaction fails, it should drop it - and probably throttle down the caller, since this caller “lied”, by submitting a TX that reverts even if its preconditions are met.