Turbine
Represents a liquidity addition with SignatureTransfer permit functionality.
This struct encapsulates all necessary information needed to submit a new intent to add liquidity to the system, including the intent and SignatureTransfer permit data for approvals. User authentication is handled via session-based SIWE verification.
Fields
add_liquidityThe intent to add liquiditypermit_tokensThe batch SignatureTransfer permit and signature for token0 and token1
Liquidity intent successfully submitted
Response returned after successfully submitting a liquidity intent to the system. Contains the unique identifier assigned to the submitted intent.
Fields
hash- Unique identifier assigned to the liquidity intent
0x1234567890123456789012345678901234567890123456789012345678901234Invalid intent, signatures, or session state
User not authorized
Internal server error
Represents an order submission with optional permit functionality.
This struct encapsulates all necessary information needed to submit a new order to the system.
signed_permit is required only for non-smart orders.
Order successfully submitted
Response returned after successfully submitting an order to the system. Contains the unique identifier assigned to the submitted order.
Fields
order_hash- Unique identifier assigned to the submitted order
0x1234567890123456789012345678901234567890123456789012345678901234Invalid order, signature, or session state
User not authorized
Internal server error
Orderbook is full
Represents an order submission with optional permit functionality.
This struct encapsulates all necessary information needed to submit a new order to the system.
signed_permit is required only for non-smart orders.
Orders successfully submitted
Response returned after successfully submitting an order to the system. Contains the unique identifier assigned to the submitted order.
Fields
order_hash- Unique identifier assigned to the submitted order
0x1234567890123456789012345678901234567890123456789012345678901234Invalid orders, signatures, or session state
User not authorized
Internal server error
Orderbook is full
0x1234567890123456789012345678901234567890123456789012345678901234Order successfully queued for cancellation
0x1234567890123456789012345678901234567890123456789012345678901234User not authorized
Order not found or not owned by caller
Internal server error
Config retrieved successfully
0x12345678901234567890123456789012345678900x1234567890123456789012345678901234567890Maximum allowed remaining validity of an EIP-712 auth signature, in seconds.
Minimum total USDC volume for a liquidity provision intent, in native USDC units
(6 decimals). A value of 10000000 is 10 USDC.
10000000Minimum trade size in native USDC units (6 decimals). A value of 10000000
is 10 USDC.
100000000x1234567890123456789012345678901234567890dev-swap.propellerheads.xyzhttps://dev-turbine.propellerheads.xyz/api0x12345678901234567890123456789012345678900x12345678901234567890123456789012345678900.109.1Config retrieved successfully
EIP-712 request body: the semantic payload plus its auth block. The EIP-712
signature covers the payload's typed struct together with nonce and deadline.
Liquidity intent successfully submitted
Response returned after successfully submitting a liquidity intent to the system. Contains the unique identifier assigned to the submitted intent.
Fields
hash- Unique identifier assigned to the liquidity intent
0x1234567890123456789012345678901234567890123456789012345678901234Invalid intent, deadline, or pool
Invalid signature or signer mismatch
Nonce already used or reserved
EIP-712 request body: the semantic payload plus its auth block. The EIP-712
signature covers the payload's typed struct together with nonce and deadline.
Order successfully submitted
Response returned after successfully submitting an order to the system. Contains the unique identifier assigned to the submitted order.
Fields
order_hash- Unique identifier assigned to the submitted order
0x1234567890123456789012345678901234567890123456789012345678901234Invalid order, deadline, or canonicalization
Invalid signature or signer mismatch
Nonce already used or reserved
Orderbook is full
A batch of independently signed add-order requests.
Orders successfully submitted
Response returned after successfully submitting an order to the system. Contains the unique identifier assigned to the submitted order.
Fields
order_hash- Unique identifier assigned to the submitted order
0x1234567890123456789012345678901234567890123456789012345678901234All envelopes invalid (per-element errors inside)
Orderbook is full
EIP-712 request body: the semantic payload plus its auth block. The EIP-712
signature covers the payload's typed struct together with nonce and deadline.
Order successfully queued for cancellation
0x1234567890123456789012345678901234567890123456789012345678901234Order not found or not owned by the signer
Nonce already used or reserved
EIP-712 request body: the semantic payload plus its auth block. The EIP-712
signature covers the payload's typed struct together with nonce and deadline.
Liquidity intent states owned by the recovered signer
Invalid deadline, or an empty or oversized hash list
Invalid signature or signer mismatch
EIP-712 request body: the semantic payload plus its auth block. The EIP-712
signature covers the payload's typed struct together with nonce and deadline.
Orders for the recovered signer
Response body for GET /api/orders.
Opaque token to pass back as cursor in the next request. null on the last page.
Mirrors cursor.is_some().
Invalid deadline or query
Invalid signature or signer mismatch
EIP-712 request body: the semantic payload plus its auth block. The EIP-712
signature covers the payload's typed struct together with nonce and deadline.
Liquidity intent successfully submitted
Response returned after successfully submitting an intent to the system. Contains the unique identifier assigned to the submitted intent.
Fields
hash- Unique identifier assigned to the submitted intent
0x1234567890123456789012345678901234567890123456789012345678901234Invalid intent, deadline, or pool
Invalid signature or signer mismatch
Nonce already used or reserved
["0x1234567890123456789012345678901234567890123456789012345678901234"]Liquidity intent states retrieved successfully
User not authorized
User session information retrieved successfully
Invalid session state
User not authorized
Internal server error
The swap intent for a user
The token being bought
0xdAC17F958D2ee523a2206206994597C13D831ec7Optional call data for smart orders, allowing custom routing
0xThe address of the target contract for the calldata
0x0000000000000000000000000000000000000000The offset of the buy amount in the calldata If Some, used to update the calldata with the actual buy amount
36The offset of the sell amount in the calldata If Some, used to update the calldata with the actual sell amount
4Block timestamp until when the order is valid.
1630003600The minimum amount of tokens being bought, effectively defining limit price.
950The address of the user submitting the order
0xBE69d72ca5f88aCba033a063dF5DBe43a4148De0Flag allowing partial fills
trueThe offset of the buy amount in the calldata Used to differentiate between orders with the same parameters
0xbc99a2cb0a86c1eb704c1b670ec4c59eae55ceaa8f1b0068f170d6d66d1301a1The amount of tokens being sold
1000The token being sold
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48Block timestamp since when the order is valid
1630000000Order fees retrieved successfully
Invalid request
Internal server error
0x1234567890123456789012345678901234567890123456789012345678901234Order state retrieved successfully
User not authorized
Order not found or not owned by caller
Internal server error
["0x1234567890123456789012345678901234567890123456789012345678901234"]Order states retrieved successfully
User not authorized
Direct lookup by order hash, comma-separated. Max 30 per request. When provided, pagination is skipped.
Filter by order status, comma-separated. Multiple values are OR'd.
Opaque cursor from a previous response. Ignored when hash is provided.
Max orders per page (default 50, cap 200). Ignored when hash is provided.
Orders retrieved
Response body for GET /api/orders.
Opaque token to pass back as cursor in the next request. null on the last page.
Mirrors cursor.is_some().
Invalid query parameters
User not authorized
Minimal inputs for a Fynd passthrough quote.
0xdAC17F958D2ee523a2206206994597C13D831ec710000000xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48Quote successful
Pared-down Fynd quote: amounts, gas, and a reference midprice.
DEX-derived spread in hundredths of a basis point. 10_000 hbp = 1%.
Deprecated: use spread instead.
Fynd solver not enabled on this instance
Quote failed upstream
Represents a liquidity removal with SignatureTransfer permit functionality.
This struct encapsulates all necessary information needed to submit a new intent to remove liquidity to the system, including the intent and SignatureTransfer permit data for approvals. User authentication is handled via session-based SIWE verification.
Fields
remove_liquidityThe intent to remove liquiditypermit_lp_tokenThe SignatureTransfer permit and signature for the LP token
Liquidity intent successfully submitted
Response returned after successfully submitting an intent to the system. Contains the unique identifier assigned to the submitted intent.
Fields
hash- Unique identifier assigned to the submitted intent
0x1234567890123456789012345678901234567890123456789012345678901234Invalid intent, signatures, or session state
User not authorized
Internal server error
app.turbine.exchange wants you to sign in with your Ethereum account: 0x1234567890123456789012345678901234567890 Sign-In With Ethereum statement URI: https://app.turbine.exchange Version: 1 Chain ID: 1 Nonce: abc123def456ghi789 Issued At: 2024-01-15T10:30:00Z{"r":"0xc135e033b0fe93b22a0b94700963c9628123f6a8fe9b7ea5e5842e11362365ac","s":"0x7d65776eb91d15baf2d08a2739f0bee524529222262d481900761cad92c485ed","yParity":"0x0","v":"0x0"}SIWE verification successful, session created
No content
SIWE verification failed or invalid session state
Internal server error
No content
Last updated
Was this helpful?