Bidder Best Practices
Understanding Credible and General Commitments
In the mev-commit network, commitments are essential to the bidding process. You may receive two types of commitments: credible and general. If the slot proposer is opted-in to mev-commit, provider commitments become credible. Understanding the difference between these two types of commitments will help you, as a bidder, optimize your interactions with the network and maximize your utility.
Credible Commitments - Credible commitments are guarantees made by network participants who have direct control over fulfilling your bid. This could include block builders, proposers, or sequencers. These commitments offer the highest level of assurance that your bid will be delivered as promised, as they mean the proposer has opted in to mev-commit. Querying for Proposers is available by default and will notify you when your commitments are ultimately credible.
General Commitments - General commitments are also promises made by network participants, but they offer a lower level of assurance compared to credible commitments. However, general commitments can approach the reliability of credible commitments when aggregated across multiple providers, such as all block builders for a mev-boost-enabled validator. This simply means that the proposer hasn’t opted in to mev-commit, but a committing block builder may still win the mev-boost auction and deliver its commitment for your bid.
Submit Bundles
To include bundles of transactions, submit them in the exact atomic sequence they appear in the bundle. Bundles can be submitted as either:
- An array of transaction hashes.
- An array of transaction payloads.
Submitting raw transaction payloads is more efficient for providers, as it eliminates the extra step of looking up the payload based on a transaction hash when matching transactions with preconfirmation bids. This allows providers to be able to send preconfirmation commitments back to the bidder faster as well. You can learn more about bid structure here.
Transaction Payload
Include the raw transaction payloads in your bid in the atomic sequence in which they need to be placed in the block.
Transaction Hash
Alternatively, you may refer to transactions that providers may already have through their RPCs or the public mempool by using transaction hashes. Note that not all providers may support this feature, and we encourage the use of the transaction payload option for optimal results.
You can change the values in the fields txHashes
, amount
, blockNumber
, decayStartTimestamp
, decayEndTimestamp
and revertingTxHashes
as desired.
Bid Decay
The decayStartTimestamp
and decayEndTimestamp
are important components for how sensitive the price of a preconfirmation will be. More details can be found about it here.
Troubleshooting
Bidders will start receiving commitments instantly in most cases. If you’re having trouble receiving commitments, check your bid parameters and ensure your bid is high enough for the commitment you’re requesting. Additionally check that you are connected to providers (via the topology endpoint) and that you are receiving mev-commit events (via the health endpoint).
Bidder Funds and Autodeposit Window
Bidders on mev-commit need funds available in their account to submit bids, which can be obtained via bridging to your wallet address and then depositing to your node address. For testnet, you can obtain funds by using the faucet. Once funds are deposited, the auto deposit function will automatically deposit funds into your account for the next 3 windows to bid. Unused funds will automatically transfer into upcoming windows for bidding. You can read more about the auto deposit feature here.
(Optional) Provider RPCs
If you don’t send transaction payloads in your bid, you can send your transactions directly to block builders. Below is a table of Provider RPCs to send your transactions to on testnet. You may already be sending transactions to these providers if you have existing transaction operations.
Provider | RPC Endpoint |
---|---|
Preconf Builder | http://52.11.201.67/execution/rpc |
Titan | holesky-rpc.titanbuilder.xyz |