Skip to main content
POST
/
transaction
/
execute
cURL
curl --request POST \
  --url https://lite-api.jup.ag/perps/v1/transaction/execute \
  --header 'Content-Type: application/json' \
  --data '{
  "action": "tpsl",
  "serializedTxBase64": "<string>"
}'
{
  "action": "<string>",
  "txid": "<string>"
}

Body

application/json
action
enum<string>
required

The action for the serialized transaction to be executed

Available options:
tpsl,
tpsl-with-fee,
limit-order,
increase-position,
increase-position-with-fee,
decrease-position,
decrease-position-with-fee
serializedTxBase64
string
required

Serialise signed transaction from user.

Response

200 OK

action
string
required

The action for the serialized transaction to be executed

txid
string
required

The transaction id of the request