v1

latestOpenAPI 3.1.0MIT License2026-07-1714820.4 KB
utils

Evaluate

Evaluates the provided expression, taking into account the deployed dApp contract

post/utils/script/evaluate/{address}

Path parameters

addressstring required

Address of the deployed dApp contract

Query parameters

traceboolean

Trace display in function response

Request body

OR

Example request

{
  "expr": "default()",
  "state": {
    "accounts": {
      "3P274YB5qseSE9DTTL3bpSjosZrYBPDpJ8k": {
        "assetBalances": {
          "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p": "141592653",
          "34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ": 5897932
        },
        "regularBalance": "3846264338327"
      }
    }
  }
}

Response

successful operation

addressstring
exprstring
complexityinteger
All 1 operations