1
Deposit For Bids
Run this command to deposit funds and start bidding:This tops up your account with
❯_ terminal
1000000000000000000 wei
(1 ETH) for the current window to bid with.
The window is the number of L1 blocks in the round (for L1 it’s 10 blocks) for which the bidder can post bids.If you want to deposit funds for a specific L1 block number, which will be automatically converted to the corresponding window, use the following command:❯_ terminal
2
Sending Bids
Open a new terminal window. To send bids, we simply run the following command:
To include bundles of transactions, add them in the atomic sequence in which they exist in the bundle, as follows:
❯_ example
Make sure your bid amount is sufficiently high for the commitment you’re requesting, and your target L1 block number is accurate. It’s up to the providers to commit to your bid, so try to ensure a commitment is feasible to your bid by its construction.
Detailed Bid Structure
Detailed Bid Structure
Key | Description |
---|---|
txHashes | Array of transaction hashes as strings |
amount | Bid amount in wei |
blockNumber | L1 block number targeted for bid inclusion |
decayStartTimestamp | Start timestamp for bid decay (in Unix milliseconds) |
decayEndTimestamp | End timestamp for bid decay (in Unix milliseconds) |
❯_ example
You can change the values in the fields txHashes, amount, blockNumber, decayStartTimestamp and decayEndTimestamp as desired.
Congrats, you just sent your first L1 preconfirmation bid! You should be receiving commitments nearly instantly.