STELLAR_UNKNOWN_CONTRACT_METHOD
The API tried to invoke a method the target contract does not expose.
500 Internal Server Error · request handling
Example
{
"type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/stellar-unknown-contract-method",
"title": "Internal Server Error",
"status": 500,
"code": "STELLAR_UNKNOWN_CONTRACT_METHOD",
"detail": "Human-readable explanation.",
"instance": "/…",
"traceId": "…"
}When it happens
The API tried to invoke a method the target contract does not expose — usually a version mismatch between escrow and endpoint.
How to fix it
Call the endpoint variant matching the escrow's contract version (v1 vs v2, single vs multi).