Concepts
Bids
Bid Structure
The bid payload sent to the internal mev-commit API is as follows:
Key | Description |
---|---|
txn_hash | Array of transaction hashes as strings |
bid_amt | Bid amount in wei |
block_number | Block number targeted for bid inclusion |
Example bid
The final bid structure includes a hash and signature that is auto-constructed by your mev-commit bidder node and looks as follows.
Details on Bid Structure
Property | Description |
---|---|
txn_hash | Array of transaction hashes represented as strings |
bid_amt | Amount to bid in wei |
block_number | Target block to have bid included |
decayStartTimestamp | Start timestamp for bid decay |
decayEndTimestamp | End timestamp for bid decay |
bid_digest | Hash of the bid |
bid_signature | Signed bid_digest = sign(bid_digest, signing_key) |
Details on Decay Parameters
The decayStartTimestamp
and decayEndTimestamp
allow the bidder to set the range over which their bid decays.
You can find more details about the purpose and internal workings of the decay mechanism under the Bid Decay Page.