For the complete documentation index, see llms.txt. This page is also available as Markdown.

ESCROW_INCOMPATIBLE_WASM_HASH

Target contract is not an instance of the expected escrow type.

422 Validation Error · escrow contract error · multi-release v1, single-release v1

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/escrow-incompatible-wasm-hash",
  "title": "Validation Error",
  "status": 422,
  "code": "ESCROW_INCOMPATIBLE_WASM_HASH",
  "detail": "Target contract is not an instance of the expected escrow type.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

Simulation of the transaction fails on-chain with this contract error: Target contract is not an instance of the expected escrow type.

How to fix it

Correct the request payload so it satisfies the contract's invariant described above, then rebuild and resubmit.