Body
The token address (ATA) to receive the fee specified in feeTokenAmount. The ATA must match the token mint specified in feeToken
The token symbol for the fee token. Currently only USDC is supported. Must be the same as input token.
USDC The amount of fee tokens to send to feeReceiver. The value must match the token mint decimals specified in feeToken (e.g., for USDC with 6 decimals, 1000000 = 1 USDC)
"1000000"
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
The wallet address / public key for the trader, Required when opening a new position.
Response
200 OK
The token mint for the integrator fee token
The amount of the integrator fee token
The estimated integrator fee in USD (raw value with 6 decimal places)
The estimated integrator fee in USD (human-readable format)
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
The position request account pubkeys for the TP / SL
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.
instant Contains relevant metadata for the serialized transaction.
