Get API key via https://portal.jup.ag
The public key for owner of the position.
"5HHB8sCKjWPU2zr3p4Lg49mQiaPQiHbCjHW7jgVzp583"
The public key for the open position. Use the GET positions endpoint to fetch the public key for the trader's open positions.
"5HHB8sCKjWPU2zr3p4Lg49mQiaPQiHbCjHW7jgVzp583"
TPSL requests to set.
20Sets the type of serialized transaction to execute the action.
instant, mixed 200 OK
The position request account pubkeys for the TP / SL
When requireKeeperSignature is true, the transaction must be signed, serialized, and sent to the the POST /transaction/execute endpoint to execute the transaction. When requireKeeperSignature is false, the transaction can be submitted through the sendTransaction RPC call as usual
The serialized transaction (base64 encoded) containing the instructions and given parameters for the decrease position request. The transaction can be deserialized, signed by the owner of walletAddress and submitted onchain to execute the decrease position request
TPSL requests created with the increase position. Only returned when TPSL is requested.
Returns the type of serialized transaction to execute the action. If the transaction type is legacy, the transaction must be submitted by the client itself through the RPC. If the transaction type is instant, the transaction must be sent to the POST /transaction/execute endpoint.
legacy, instant Contains relevant metadata for the serialized transaction.