Skip to main content

Bundle Submission

POST /v1/user/bundle/send

Send the transaction bundle for a specific slot.

curl -H "Authorization: Bearer {{access_token}}" -X POST "$ETHGAS_API_URL/v1/user/bundle/send" \
-H "Content-Type: application/json" \
-d '{
"slot": 114713,
"replacementUuid": "01ab2371-84d6-459e-95e7-5edad485f282",
"txs": [
{"tx": "0x02f88582...", "canRevert": true},
{"tx": "0x02f88582...", "ordering": 1, "canRevert": false}
]
}'

Request Body

ParameterRequiredTypeDescription
slotYESintegerSlot number of the block
replacementUuidYESstringUnique identifier for the bundle replacement
txsYEStransactionRequest[]List of transaction requests
└ txYESstringSigned transaction (hex)
└ canRevertYESbooleantrue = revertable, false = non-revertable
└ orderingNOinteger1 = top of block, -1 = bottom of block

Response Body

NameTypeDescription
successbooleanWhether API call is successful or not
errorCodeintegerError code (if any)
errorMsgKeystringError message
dataobjectResponse body (usually empty)