deals

Dry-run the algorithm's input contract before committing (read-only)

Validates a party input against the deal's algorithm and declared algorithm_params, returning the same instructive errors a reveal would produce (e.g. VALUATION_TOTAL for split.v1). A commitment binds the exact input bytes, so a contract-violating input committed in error can never be corrected and guarantees a VOID — validate before committing. No state change; nothing is stored.

post/v1/deals/{id}/validate-input

Request

  • Base URL: https://api.redeal.dev
  • URL: https://api.redeal.dev/v1/deals/{id}/validate-input
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

inputobject required

the party_input you plan to commit, within the contract served at GET /v1/algorithms

Response

Input passes the contract

deal_idstring
algorithmstring
validboolean
nextstring

instructive next step

Changes

No recorded changes to this operation across all 1 revision of this API.