Prepare simple Strata market making
strata_market_making_preparePrepare a market-making transaction for Strand or Current by supplying market, size, spread, and duration. Resolves live market details, checks safety bounds, and returns an externally signable transaction for submission.
Instructions
Prepare a pro-level Strand or Current from a market label, decimal base size, spread, and duration. Strata resolves IDs, decimals, live mark, tick grid, expiry, safety bounds, and fixed on-chain arrays. Sign only the returned transaction externally, then call submit_and_wait.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | ||
| size | No | ||
| action | Yes | ||
| levels | No | ||
| market | Yes | ||
| product | Yes | ||
| duration | No | ||
| asyncOnly | No | ||
| spreadBps | No | ||
| makerWallet | Yes | ||
| levelStepBps | No |