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

TOKEN_NEGATIVE_AMOUNT

Token amounts must not be negative.

422 Validation Error · token contract error · all variants (single/multi × v1/v2)

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/token-negative-amount",
  "title": "Validation Error",
  "status": 422,
  "code": "TOKEN_NEGATIVE_AMOUNT",
  "detail": "Token amounts must not be negative.",
  "instance": "/…",
  "traceId": "…",
  "extensions": { "contractId": "C…", "type": "single-release", "method": "…", "tokenContractId": "C…" }
}

When it happens

The token contract received a negative amount.

How to fix it

Send a positive amount.