Skip to main content
POST
TypeScript SDK

Authorizations

x-api-key
string
header
required

Headers

Idempotency-Key
string
required

Idempotency key for this request. Re-sending the same key with the same body returns the original result and creates no duplicate; re-sending it with a different body is rejected with 422.

Minimum string length: 1
Example:

"2f1a8c4e-0b3d-4a9c-8e7f-1a2b3c4d5e6f"

Body

application/json
sourceVenue
enum<string>
required

Venue whose resting form funds the move. polymarket: pUSD on Polygon. limitless: USDC on Base.

Available options:
polymarket,
limitless,
predict_fun
Example:

"polymarket"

destinationVenue
enum<string>
required

Venue the funds must land spendable at. Must differ from sourceVenue.

Available options:
polymarket,
limitless,
predict_fun
Example:

"polymarket"

amount
number
required

Amount to move, in USDC (up to 6 decimal places). This is the amount that must land spendable at the destination venue; execution grosses up the source debit to cover bridge/swap slippage.

Required range: x > 0
Example:

25

maxSlippageBps
integer

Optional slippage-protection cap (basis points, below 10000) for the lossy swap/bridge steps. Defaults server-side when omitted.

Required range: 0 < x <= 9999
Example:

200

Response

Rebalance accepted

rebalanceId
string
required

Issued rebalanceId. Stable handle for status lookups.

Minimum string length: 1
Example:

"3f8b2c9a-2d18-4f7e-9c2a-1b6e1f0c8a4d"