cURL
curl --request DELETE \ --url https://api.jup.ag/prediction/v1/orders \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "orderPubkey": "<string>", "ownerPubkey": "<string>", "userPubkey": "<string>" } '
{ "blockhash": "<string>", "transaction": "<string>", "latestBlockhash": "<string>", "lastValidBlockHeight": 1, "requiredSigners": [ "<string>" ], "computeUnits": 1, "orderPubkey": "<string>", "accounts": { "owner": "<string>", "authority": "<string>", "vault": "<string>", "marketId": "<string>", "position": "<string>", "order": "<string>", "orderAta": "<string>", "ownerTokenAccount": "<string>", "settlementMint": "<string>" } }
Request an unsigned transaction to close a pending order
Get API key via https://portal.jup.ag
32
Order owner public key
Order owner public key (deprecated alias; use ownerPubkey)
Unsigned transaction for closing an order
Base64 encoded transaction
x >= 0
Show child attributes
Was this page helpful?