Skip to main content
DELETE
/
orders
/
limit
cURL
curl --request DELETE \
  --url https://lite-api.jup.ag/perps/v1/orders/limit \
  --header 'Content-Type: application/json' \
  --data '{
  "positionRequestPubkey": "<string>"
}'
{
  "serializedTxBase64": "<string>",
  "txMetadata": {
    "blockhash": "<string>",
    "lastValidBlockHeight": "<string>",
    "transactionFeeLamports": "0.5",
    "accountRentLamports": "0.5"
  },
  "positionPubkey": "<string>",
  "positionRequestPubkey": "<string>",
  "requireKeeperSignature": true
}

Body

application/json
positionRequestPubkey
string
required

Public key / account address for the position request account for the limit order.

Response

200 OK

serializedTxBase64
string | null
required

The serialized transaction (base64 encoded) containing the instructions and given parameters for the close limit order request. The transaction can be deserialized, signed by the owner of walletAddress and submitted onchain to execute the close limit order request

txMetadata
object
required
positionPubkey
string | null
required

The unique identifier (i.e. a program derived address) for the position account. Use this address to find the position account onchain.

positionRequestPubkey
string | null
required

The unique identifier (i.e. a program derived address) for the position request. Use this address to find the position request account onchain

requireKeeperSignature
boolean | null