<p>Not directly.  The Bitcoin protocol doesn't allow you to place restrictions on how a transaction can be spent.  The input script doesn't get to see the output script.</p>

<p>However, the net effect of what you describe would be as follows: after B decides to send the funds, they are in the control of C, who can spend them as desired.  In other words, the approval of both B and C is needed in order to move the funds onward.  You can get this effect with a 2-of-2 multisig transaction that requires signatures from both B and C, and can then be spent in any way they agree to.</p>

CC BY-SA 3.0
2018-02-13T14:33:19.223Z
Do you have  any idea about other **blockchain Protocol** allow this features
Amine Mbarki
CC BY-SA 3.0
2018-02-13T15:10:32.653Z
@wikix: Sorry, I don't know whether there are other coins / protocols where such a feature exists.
Nate Eldredge
CC BY-SA 3.0
2018-02-13T02:02:41.237Z
2018-02-13T02:02:41.237Z
Nate Eldredge
<p>Let me try to specify my question with an example:</p>

<p>Consider that there are 4 accounts ( AccountA and AccountB and AccountC (Taged as Store) and and AccountD (Taged as Night Club)), and AccountA wants to send let's say $100 to AccountB with a specified condition (i.e. $100 can be spent only at Accounts taged as Store ).</p>

<p>Can i implement above case?</p>

<p>If i can, how?</p>

<bitcoin-core><blockchain>
Can an account define conditional tags to blockchain
Amine Mbarki
# Can an account define conditional tags to blockchain

(Asked by: username_0 on 2018-02-13)

Let me try to specify my question with an example:

Consider that there are 4 accounts ( AccountA and AccountB and AccountC (Taged as Store) and and AccountD (Taged as Night Club)), and AccountA wants to send let's say $100 to AccountB with a specified condition (i.e. $100 can be spent only at Accounts taged as Store ).

Can i implement above case?

If i can, how?

**Tags:** bitcoin-core, blockchain


---

## 1 answers

### Answer by username_1 on 2018-02-13. Score: 1 | Accepted answer

Not directly. The Bitcoin protocol doesn't allow you to place restrictions on how a transaction can be spent. The input script doesn't get to see the output script.

However, the net effect of what you describe would be as follows: after B decides to send the funds, they are in the control of C, who can spend them as desired. In other words, the approval of both B and C is needed in order to move the funds onward. You can get this effect with a 2-of-2 multisig transaction that requires signatures from both B and C, and can then be spent in any way they agree to.

> **Comments:**
> **username_0**: Do you have  any idea about other **blockchain Protocol** allow this features  
> **username_1**: @wikix: Sorry, I don't know whether there are other coins / protocols where such a feature exists.  

---

