v1

latestOpenAPI 3.1.0MIT License2026-07-17107133186.6 KB
utils

Compile script

Compiles string code to base64 script representation

post/utils/script/compileCode

Query parameters

compactboolean

If true, compacts the contract. False by default

Response

successful operation

scriptstring byte required

Compiled script in base64 representation

complexityinteger required

The maximum of callableComplexities and verifierComplexity

verifierComplexityinteger required

Complexity of an 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