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

AMOUNT_OUT_OF_RANGE

amount is larger than the maximum on-chain value (i128).

422 Validation Error · request handling

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/amount-out-of-range",
  "title": "Validation Error",
  "status": 422,
  "code": "AMOUNT_OUT_OF_RANGE",
  "detail": "amount is larger than the maximum on-chain value (i128).",
  "instance": "/…",
  "traceId": "…"
}

When it happens

An amount is outside the accepted range.

How to fix it

Send a positive amount within the asset's representable range.