execute
POSThttps://lite-api.jup.ag/ultra/v1/execute
Execute the signed transaction and get the execution status
note
- Do note that the
requestId
is found in the response of/order
- Refer to Ultra API doc for more information
Request
- application/json
Body
signedTransactionstringrequired
The signed transaction to execute
requestIdstringrequired
Found in response of /order
Responses
- 200
- 400
- 500
Successful response
- application/json
- Schema
- Example (auto)
Schema
statusstringrequired
Possible values: [Success
, Failed
]
signaturestring
slotstring
errorstring
codenumberrequired
inputAmountResultstring
outputAmountResultstring
swapEvents object[]
{
"status": "Success",
"signature": "string",
"slot": "string",
"error": "string",
"code": 0,
"inputAmountResult": "string",
"outputAmountResult": "string",
"swapEvents": [
{
"inputMint": "string",
"inputAmount": "string",
"outputMint": "string",
"outputAmount": "string"
}
]
}
Bad request
- application/json
- Schema
- Example (auto)
Schema
errorstringrequired
codenumberrequired
{
"error": "string",
"code": 0
}
Internal server error
- application/json
- Schema
- Example (auto)
Schema
errorstringrequired
codenumberrequired
{
"error": "string",
"code": 0
}
- curl
- nodejs
- python
- rust
- CURL
curl -L 'https://lite-api.jup.ag/ultra/v1/execute' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"signedTransaction": "string",
"requestId": "string"
}'
ResponseClear