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

STELLAR_TX_OP_NOT_ALLOWED

Only Soroban invokeHostFunction operations may be submitted here.

422 Validation Error · request handling

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/stellar-tx-op-not-allowed",
  "title": "Validation Error",
  "status": 422,
  "code": "STELLAR_TX_OP_NOT_ALLOWED",
  "detail": "Only Soroban invokeHostFunction operations may be submitted here.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

The transaction contains an operation type this API does not accept.

How to fix it

Only submit transactions built by this API: a single invokeHostFunction (or a lone restoreFootprint).