Increase borrow (withdraw or compound)

Build an unsigned transaction to borrow more against an existing position. In withdraw mode, the additional quote tokens are sent to the trader. In compound mode, the borrowed tokens are swapped via Jupiter into the base token and deposited as additional collateral, increasing position size.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Position account address (base58)

string
required

User wallet public key (base58)

string
required

smallest units of quote token, as a positive integer string (max 20 digits)

string
enum
required

withdraw = receive quote tokens; compound = swap into base and add as collateral

Allowed:
integer
1 to 10000
Defaults to 50

Slippage tolerance in bps (compound mode only)

integer
≥ 10000

Astralane MEV-protect tip in lamports (compound mode only)

Response

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