POST
Take at market

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.

Body

application/json
from
string
required

The venue the taker pays on.

to
string
required

The venue the taker receives on.

amount_in
string
required

Most the taker pays, in from base units.

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

Least to reserve, in to base units, else SLIPPAGE; fills settle independently, so less may arrive.

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

Persist before the first attempt. Unique per user and resource type; reuse with other parameters returns 409 STATE_CONFLICT.

Required string length: 1 - 64
Pattern: ^[A-Za-z0-9_.:-]+$
payer
string

Wallet funding only: the master by default, or the address linked on from.

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

venue: the linked account on from, withdrawing a shortfall from its margin. wallet: only the payer's wallet and available balance, in the escrow token; the master needs no account on from. Fixed for retries.

Available options:
venue,
wallet
transfer_intent_id
string<uuid>

Take for this transfer: same terms and client_take_id, not cancelled, and any submitted withdrawal relayed; a prepared, unsubmitted one is signed at once with the take.

max_parts
integer
default:8

Most maker fills; part of the request's identity for retries.

Required range: 1 <= x <= 8
max_fee_bps
integer

The highest taker fee accepted, as the book's taker_fee_bps: a higher one is VALIDATION_ERROR with reason fee_above_max, before anything is reserved. Without it the take pays no fee. Part of the request's identity for retries.

Required range: 0 <= x <= 100
destination
enum<string>

Default venue. wallet only on an escrow venue whose chain.wallet is set; it needs no account on to. Part of the request's identity for retries.

Available options:
venue,
wallet
recipient
string

With destination wallet, and only then: the address it transfers to, among those a wallet delivery accepts. Part of the request's identity for retries.

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

Response

Existing take for this client_take_id.

take
object
required
to_sign
object[]
required

Unsigned requests; empty once signatures are accepted.

One item to sign with eth_signTypedData_v4.

aster_reissue
boolean

Present while an aster_transfer request awaits signing: issue it again with aster-request right before the wallet signs it.