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) |
revertingTxHashes | Array of transaction hashes as strings that can revert |
rawTransactions | Array of raw signed transaction payloads |
slashAmount | Amount to be slashed from provider stake in case of a failed bid |
txHashes
or rawTransactions
need to be provided in the bid. If the rawTransactions
is given, the txHashes
are inferred from it.
Property | Description |
---|---|
txnHash | Array of transaction hashes represented as strings |
bidAmount | Amount to bid in wei |
blockNumber | L1 target block to have bid included |
decayStartTimestamp | Start timestamp for bid decay (in Unix milliseconds) |
decayEndTimestamp | End timestamp for bid decay (in Unix milliseconds) |
bidDigest | Hash of the bid |
bidSignature | Signed bidВigest = sign(bidDigest, signingKey) |
nikePublicKey | NIKE public key of the bidder, autogenerated for each bid |
revertingTxHashes | Array of transaction hashes as strings that can revert |
rawTransactions | Array of hexadecimal encoded raw signed transaction payloads |
slashAmount | Amount to be slashed from provider stake in case of a failed bid |
decayStartTimestamp
and decayEndTimestamp
parameters allow bidders to control the range over which their bid decays.
Due to inherent network delays, preconfirmation times can range between 50 to 250 milliseconds even if providers commit immediately after seeing the bid. To account for this, you might want to set your decayStartTimestamp
approximately 300 milliseconds in the future. However, setting this delay is not mandatory and should be adjusted based on your strategic preferences for bid timing and pricing.
For more detailed information about the decay mechanism, refer to the Bid Decay Page.