capabilities.work

Trading workflows

A 5-step recipe with Pred. We can help you get access.

Recipe · 5 steps

Trading workflows

with Pred

Login with wallet signature, discover an active market, read its orderbook, place a signed order, and confirm the position.

  1. EIP-712 CreateProxy login. Provide X-API-Key and a signed message body.
  2. List active parent/child markets (verbose=true).
  3. Read the orderbook for the chosen parent/child market.
  4. Place an EIP-712 signed order on the parent market.
  5. Confirm the resulting position.
What you'll need to have ready
  • api_key
  • chain_type
  • parentMarketID
  • marketID
For your developer

Arazzo workflow pred:login-discover-and-place-order, 5 operations: loginWithSignature → getAllParentMarkets → getOrderBook → placeOrder → getPositions. Specs on APIs.io.