<p>The script is executed during the validation of a transaction by any full node which validates it. The script denotes the spending condition, so during the verification of a transaction the node will execute the script to ensure it passes successfully and does not violate any other rules (e.g. cleanstack)</p>

CC BY-SA 4.0
2018-09-17T12:58:17.957Z
2018-09-17T12:58:17.957Z
meshcollider
<p>Can anyone explain when does a script executed exactly? There are several information about "how scripts are executed" but no information about "when".</p>

<transactions><script><transaction-verification><input-script>
When do scripts executed?
Önder Gürcan
# When do scripts executed?

(Asked by: username_0 on 2018-09-17)

Can anyone explain when does a script executed exactly? There are several information about "how scripts are executed" but no information about "when".

**Tags:** transactions, script, transaction-verification, input-script


---

## 1 answers

### Answer by username_1 on 2018-09-17. Score: 1

The script is executed during the validation of a transaction by any full node which validates it. The script denotes the spending condition, so during the verification of a transaction the node will execute the script to ensure it passes successfully and does not violate any other rules (e.g. cleanstack)


---

