<p>It's just a script blockexplorer.com doesn't seem to understand and consequently marks as "strange". Bitcoin scripts determine who is able to claim the bitcoins. Transfering them to an address is just one of many possible options.</p>

<p>If the coins of a transaction A are spent in a transaction B two scripts are involved: The "ScriptPubKey" of transaction A and the "ScriptSig" of transaction B. The two scripts are combined and executed as a whole.</p>

<p>Normally, the scripts check if the spender can identify itself with a private key corresponding to the address specified in transaction A. But not in this case:</p>

<p>Have a look at the column ScriptPubKey: It says <code>OP_WITHIN</code>. This command checks if a number is in a given range. The <a href="http://blockexplorer.com/testnet/tx/dc3aad51b4b9ea1ef40755a38b0b4d6e08c72d2ac5e95b8bebe9bd319b6aed7e#i2795359" rel="nofollow">transaction</a> claiming these coins puts the arguments <code>-1</code> <code>-100</code> and <code>100</code> on the stack. Since -1 is between -100 and 100 the transaction is valid.</p>

<p>Obviously, this doesn't make much sense, but it's just a testnet transaction.</p>

<p>For more information about scripts have a look at this <a href="https://en.bitcoin.it/wiki/Script" rel="nofollow">wiki page</a>.</p>

CC BY-SA 3.0
2013-11-23T21:02:00.273Z
2013-11-23T21:02:00.273Z
jnnk
<p>I am trying to learn bitcoin by writing a script that finds a balance of a set of addresses by scanning all raw transactions. </p>

<p>In the following link, the output at index 1 has no address and is marked as strange. What does that mean? Does it mean that the .1 testnet coin is destroyed?</p>

<p><a href="http://blockexplorer.com/testnet/tx/c08053db370893765c88c93e2fe4db0aa8ebc02c70b2c91109a6081b06b5e060" rel="nofollow">http://blockexplorer.com/testnet/tx/c08053db370893765c88c93e2fe4db0aa8ebc02c70b2c91109a6081b06b5e060</a></p>

<testnet><raw-transaction>
What does the text strange or nonstandard type mean in the output of a transaction?
user299648
# What does the text strange or nonstandard type mean in the output of a transaction?

(Asked by: username_0 on 2013-11-23)

I am trying to learn bitcoin by writing a script that finds a balance of a set of addresses by scanning all raw transactions.

In the following link, the output at index 1 has no address and is marked as strange. What does that mean? Does it mean that the .1 testnet coin is destroyed?

<http://blockexplorer.com/testnet/tx/c08053db370893765c88c93e2fe4db0aa8ebc02c70b2c91109a6081b06b5e060>

**Tags:** testnet, raw-transaction


---

## 1 answers

### Answer by username_1 on 2013-11-23. Score: 3 | Accepted answer

It's just a script blockexplorer.com doesn't seem to understand and consequently marks as "strange". Bitcoin scripts determine who is able to claim the bitcoins. Transfering them to an address is just one of many possible options.

If the coins of a transaction A are spent in a transaction B two scripts are involved: The "ScriptPubKey" of transaction A and the "ScriptSig" of transaction B. The two scripts are combined and executed as a whole.

Normally, the scripts check if the spender can identify itself with a private key corresponding to the address specified in transaction A. But not in this case:

Have a look at the column ScriptPubKey: It says `OP_WITHIN`. This command checks if a number is in a given range. The [transaction](http://blockexplorer.com/testnet/tx/dc3aad51b4b9ea1ef40755a38b0b4d6e08c72d2ac5e95b8bebe9bd319b6aed7e#i2795359) claiming these coins puts the arguments `-1` `-100` and `100` on the stack. Since -1 is between -100 and 100 the transaction is valid.

Obviously, this doesn't make much sense, but it's just a testnet transaction.

For more information about scripts have a look at this [wiki page](https://en.bitcoin.it/wiki/Script).


---

