Close position

Builds a transaction (or Jito bundle) to close an open position. Swaps position tokens back, repays the borrowed amount + interest, and returns remaining collateral to the user.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
string
required
integer
1 to 10000
Defaults to 50
integer
≥ 10000

Optional. Astralane MEV-protect tip in lamports. Submit the signed tx via /bundle/submit with mevProtect: true.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json