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.
- EIP-712 CreateProxy login. Provide X-API-Key and a signed message body.
- List active parent/child markets (verbose=true).
- Read the orderbook for the chosen parent/child market.
- Place an EIP-712 signed order on the parent market.
- 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.