---
title: "Estimate"
method: POST
path: "/utils/script/estimate"
tags: ["utils"]
---

# Estimate

`POST /utils/script/estimate`

Estimates complexity of a given compiled code

## Response `200`

successful operation

- object
  - `script` string, byte, required — Compiled script in base64 script representation
  - `scriptText` string, required — Compiled script in text representation
  - `complexity` integer, required — The maximum of `callableComplexities` and `verifierComplexity`
  - `verifierComplexity` integer, required — [Complexity](https://docs.waves.tech/en/ride/base-concepts/complexity) of the account or asset script or the verifier function of the dApp script
  - `callableComplexities` object, required — Complexity of callable functions of the dApp script. Empty for an account script or asset script
  - `extraFee` integer, required — Extra fee for transactions sending on behalf of the dApp or smart account or transactions involving the asset

---

[API](https://skmtc.net/wavesplatform/apis/waves-full-node-chainid.md) · [All operations](https://skmtc.net/wavesplatform/apis/waves-full-node-chainid/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wavesplatform/waves-full-node-chainid/versions/09465bcdf6ce/schema)
