Drafts

Mint publish-time createMarket params for an approved draft

Changed on

Re-checks the draft is approved and unchanged, then resolves its relative deadline windows into absolute timestamps anchored at current chain time (ADR 0022 decision 4). The caller signs createMarket with these params plus its configured collateral.

post/drafts/{draftId}/publish-params

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

draftIdstring required

Query parameters

creatorAddressstring

Response

Response for status 200

bypassAiResolutionboolean required
collateralstring required
graduationDeadlinestring required
graduationThresholdstring required
liquidityParameterstring required
metadatastring required
metadataHashstring required
openingProbabilityWadstring required
resolutionTimestring required
yesNotBeforestring required

Changes

    • info

      added the new optional query request parameter creatorAddress

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added