<p>In theory they can have any arbitrary script. In practice, only a handful of scripts are considered standard and will be relayed on the network: pay to pubkey, pay to pubkey hash, null data (op_return), pay to script hash and raw multisig.</p>

CC BY-SA 3.0
2014-08-12T05:54:54.083Z
2014-08-12T05:54:54.083Z
Matthieu
<p>Can they have arbitrary scripts, as long as they are under a certain length?</p>

<script>
What are the requirements for a ScriptPubKey to be valid?
user18688
# What are the requirements for a ScriptPubKey to be valid?

(Asked by: username_0 on 2014-08-11)

Can they have arbitrary scripts, as long as they are under a certain length?

**Tags:** script


---

## 1 answers

### Answer by username_1 on 2014-08-12. Score: 3

In theory they can have any arbitrary script. In practice, only a handful of scripts are considered standard and will be relayed on the network: pay to pubkey, pay to pubkey hash, null data (op\_return), pay to script hash and raw multisig.


---

