bids
Update bid
Update a bid's value, quantity, or gas parameters.
Only the bid owner can update their bids.
Bids can only be updated in PENDING or VALIDATED status.
put/api/v1/bids/{id}
Path parameters
idstring required
Bid CUID
Request body
Example request
{
"value": "1500000000000000000",
"quantity": 150,
"gasFeeCap": "25000000000",
"gasTipCap": "2500000000"
}Response
Bid updated successfully
Example response
{
"id": "tz4a98xxat96iws9zmbrgj3a",
"slot": 1234567,
"entityId": "entity-123",
"value": "1000000000000000000",
"quantity": 100,
"gasFeeCap": "20000000000",
"gasTipCap": "2000000000",
"builderPublicKey": "0x1234567890abcdef...",
"status": "pending",
"submittedAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"validatedAt": "2024-01-01T00:00:05.000Z",
"validFrom": "2024-01-01T00:00:00.000Z",
"validUntil": "2024-01-01T00:00:12.000Z",
"version": 1,
"nonce": "1234567890",
"metadata": {
"priority": "high",
"source": "api"
},
"isActive": true,
"isModifiable": true
}