GET
Plan a move

Authorizations

Authorization
string
header
required

From POST /v1/auth/verify; seven days by default, revocable. Required for financial operations. 60 requests/s, burst 120, shared by the user's sessions.

Query Parameters

from
enum<string>
required

A venue account, or wallet with a chain and token.

Available options:
hyperliquid,
polymarket,
gmx,
aster,
lighter,
wallet
from_chain_id
integer

With from: wallet.

from_token
string

With from: wallet. Any case accepted; responses are lowercase except inside typed data and signed messages.

Pattern: ^0x[0-9a-fA-F]{40}$
to
enum<string>
required

A venue account, or wallet with a chain and token.

Available options:
hyperliquid,
polymarket,
gmx,
aster,
lighter,
wallet
to_chain_id
integer

With to: wallet.

to_token
string

With to: wallet. Any case accepted; responses are lowercase except inside typed data and signed messages.

Pattern: ^0x[0-9a-fA-F]{40}$
amount_in
string
required

Decimal base units of the venue's token (decimals in GET /v1/venues), below 2^256: with 6 decimals, "1000000" is 1 token.

Pattern: ^[0-9]{1,78}$
min_out
string
required

Decimal base units of the venue's token (decimals in GET /v1/venues), below 2^256: with 6 decimals, "1000000" is 1 token.

Pattern: ^[0-9]{1,78}$
payer
string

The master address when omitted. Any case accepted; responses are lowercase except inside typed data and signed messages.

Pattern: ^0x[0-9a-fA-F]{40}$
recipient
string
required

An address; on to: lighter, the Lighter account index.

max_fee_bps
integer

Basis points; the escrow refuses more than 100.

Required range: 0 <= x <= 100

Response

The plan.

lamarge
object | null
required

LaMarge's part, null when none.

lamarge_unavailable
enum<string> | null
required

Why LaMarge takes no part.

Available options:
no_route,
no_liquidity,
no_deposit,
not_admitted,
unhealthy,
fee_consent,
null
bridge
object | null
required

The external part for the rest, null when none; an estimate, quoted again before signing.

bridge_unavailable
enum<string> | null
required

Why no bridge carries the rest; slippage when its guaranteed output is below the part's floor; disabled when the deployment has no bridge provider.

Available options:
insufficient_liquidity,
below_minimum,
unsupported,
hyperliquid_mode,
provider_unavailable,
slippage,
disabled,
null
unallocated
string
required

What neither part carries, in the origin token.

Pattern: ^[0-9]{1,78}$
unallocated_reason
string | null
required