Skip to main content

Module execution

Module execution 

Source
Expand description

Predict.fun execution pipeline: auth → sign → submit with dry-run safety guard.

PredictExecutionClient handles the full lifecycle: JWT authentication, market lookup (with cache), order preparation, EIP-712 signing, and submission.

§Network optimization

Market metadata (token IDs, fee rates, flags) is cached after first fetch. This avoids redundant GET /markets/{id} on every order — critical for MM bots placing 10+ orders/min on the same market.

Structs§

MarketMeta
Cached market metadata — everything needed to sign orders without re-fetching.
PredictExecConfig
PredictExecutionClient
Execution client with market metadata cache and JWT management.
PredictLimitOrderRequest
PredictPreparedOrder
PredictSubmitResult