v1

latestOpenAPI 3.1.0MIT License2026-07-17107133186.6 KB
utils

Estimate

Estimates complexity of a given compiled code

post/utils/script/estimate

Response

successful operation

scriptstring byte required

Compiled script in base64 script representation

scriptTextstring required

Compiled script in text representation

complexityinteger required

The maximum of callableComplexities and verifierComplexity

verifierComplexityinteger required

Complexity of the account or asset script or the verifier function of the dApp script

callableComplexitiesobject required

Complexity of callable functions of the dApp script. Empty for an account script or asset script

extraFeeinteger required

Extra fee for transactions sending on behalf of the dApp or smart account or transactions involving the asset