Skip to content

GuidesBuild schemas by venue

Step zero — from nothing to your first trade

Section titled “Step zero — from nothing to your first trade”
  1. Create the account. Go to limitless.exchange and connect an eligible EOA on Base. The hosted service accepts no venue account credential or profileId; Predictefy has no verified information on a separate registration or KYC requirement, so confirm that prerequisite with Limitless.
  2. Set up signing. A fresh user must first create an EVM wallet and secure the seed phrase offline. The wallet signs each order locally. Predictefy never sees the private key.
  3. Fund it. Put Base-native USDC in that EOA, keep a little ETH for Base gas, and grant only a finite approval to the market’s authoritative exchange. Predictefy has no verified numeric deposit minimum, so fund one small intended order. If funds start elsewhere, request the assisted LI.FI route with GET /v1/bridge/quote.
  4. Allow time. Budget about 1–2 hours if this is your first wallet; an existing funded Base wallet is faster. Predictefy’s hosted service refuses US-region callers through its own geofence by design.
  • Production status: Enabled for build, submit, and cancel.
  • Wallet and chain: An EOA on Base (8453) signs the server-built EIP-712 order client-side.
  • Venue account: The hosted service accepts no caller account credential or profileId; verify any separate venue registration and eligibility requirement with Limitless.
  • Credentials: No caller venue credential. Predictefy holds the partner HMAC credential, while the EOA private key remains only in the caller’s process.
  • Funding: Base-native USDC in the EOA, with a finite approval to the market’s authoritative exchange. The LI.FI helper can fund the wallet.
FieldTypeRequiredRejection
ownerEVM addressyesowner (the EOA that will sign) is required
tokenIdCTF position id, digits onlyyestokenId (CTF position id) is required
orderSide (or side)BUY/SELL or 0/1yesorderSide must be BUY or SELL
orderTypeFOK, GTC, or FAK (see below)yesorderType must be FOK or GTC
postOnlyboolean, GTC onlynopostOnly is only supported for GTC orders
marketSlugstringyesmarketSlug is required
pricenumber in (0, 1) exclusiveyesprice in (0,1) is required
sharesnumber > 0yesshares (> 0) is required
amountUsdnumber > 0FOK buyamountUsd (> 0) is required
expirationunix seconds (default now + 1 hour)noexpiration must be a non-negative safe integer (unix seconds)
noncenumber (default 0)no—
feeRateBpsinteger 0-10000 (enabled only)see feesfeeRateBps is required on a fee-enabled Limitless market
profileIdrejected outright—profileId is not accepted — the bound owner address is the relay identity

Note the exclusive bound: Hyperliquid accepts price = 1, Limitless does not. The server fixes every remaining field: feeRateBps 300 when the order-type enablement is off, signatureType 0, taker the zero address, the salt, and maker = signer = owner. You sign exactly what was cap-checked. Notional is makerAmount / 1e6: exact USDC for a buy, a conservative dollar ceiling for a sell.

When the deployment enables Limitless order types, orderType: FAK builds a fill-and-kill order: it matches what it can at the signed price and cancels the remainder instead of resting. FAK uses the same price and shares inputs as a GTC limit order, returns the same amount shape, and records a declared position.

postOnly: true guarantees a maker-only GTC order, because the venue rejects it when it would cross the book. It is refused with FAK or FOK, and it is never part of the signed EIP-712 order.

The venue accepts only a zero expiration and a zero nonce, so orders built with this enablement sign expiration: "0" and nonce: 0; a request asking for any other value is refused before signing.

The server resolves the wallet through your partner sub-account listing and stores the numeric Limitless profile id in the unsigned artifact. A wallet that is not a Core partner sub-account is refused before signing, because a standalone Limitless profile cannot be attached to a partner and is not reachable through onBehalfOf. Placement and cancellation send that id as both ownerId and onBehalfOf.

Without that enablement, FAK answers the existing orderType must be FOK or GTC error and postOnly is ignored exactly as before.

While the order-type enablement is on, the signed order follows the venue’s exact rules:

  • feeRateBps is market- and owner-specific. Send your account’s effectiveFeeRateBps on a fee-enabled market; there the build refuses to sign without it. On a market without taker fees, or a venue whose feeModuleType is COLLATERAL, the build signs 0 and refuses any other value. A stale rate comes back from the venue as FEE_RATE_MISMATCH with expectedFeeRateBps, so rebuild with that rate.
  • price has at most three decimal places (0.001 to 0.999).
  • shares and amountUsd have at most six decimal places, and price × contracts must be an exact integer raw-unit amount with no rounding.
  • The maker amount must be at least 100 raw units.

A build that breaks one of these rules is refused before signing. With the enablement off, the legacy amounts and the ported feeRateBps 300 are unchanged.

When the deployment enables Limitless order types, the shared POST /v1/exec/limitless/orders/batch-cancel route accepts 1 to 20 of your own execution ids and builds ONE cancel intent. Submit that intent through the normal /submit route, exactly like a single cancel. The intent sends the venue’s POST /orders/batch-cancel with the explicit stored order ids and your numeric Limitless profile id. It never asks the venue to cancel every order on a wallet, so another account using the same wallet, and orders placed outside Predictefy, are untouched. Every target must belong to one wallet and one Limitless profile.

On submit the cancel execution is canceled only when every order is confirmed. A partial or refused batch is failed, with one closed-code outcome per requested order in submittedArtifact.results (order_not_found, order_release_in_progress, or cancel_failed). Venue message text is never returned or stored. The usual trade scope and Idempotency-Key apply, and the batch build is one billed cancel action that its submit reuses.

To cancel every live order Predictefy tracks for you in one Limitless market, use the SDK helper exec.cancelAllOrders({ venue: 'limitless', marketSlug }). It pages your open executions, groups them by bound wallet so every intent is one delegated identity, builds one batch intent per wallet per group of at most 20, and submits each. No signer is needed for a Limitless cancel.

A single cancel of an order that was built while the enablement was off resolves and stores your profile id first, so an existing live order stays cancelable through the documented route. Single cancel and order status keep working after that enablement is turned off, so an order you placed earlier stays cancelable and readable.