# How to lock an asset from further issuance?

**URL:** <https://forums.counterparty.io/t/how-to-lock-an-asset-from-further-issuance/125>\
**Category:** Assets\
**Created:** [February 19, 2014, 6:58am UTC](https://forums.counterparty.io/t/how-to-lock-an-asset-from-further-issuance/125 "2014-02-19T06:58:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Global\_trade\_repo](https://avatars.discourse-cdn.com/v4/letter/g/8baadc/32.png) [@Global\_trade\_repo](https://forums.counterparty.io/u/Global_trade_repo)\
**Post date:** [February 19, 2014, 6:58am UTC](https://forums.counterparty.io/t/how-to-lock-an-asset-from-further-issuance/125/1 "2014-02-19T06:58:41Z")

</div>

I’ve created XBTC and would like to lock it such that no more XBTC can be issued. I used this command which has worked:  
  
  
counterpartyd issuance --source 1LHpjmevxx3ZWydTL5PfoSiUiuYNbkqknm --quantity 21000000 --asset XBTC --divisible --description BTC  
  
  
However, when I try and lock XBTC, I get the following error. How should I be specifying the command line?  
  
  
  
counterpartyd issuance --source 1LHpjmevxx3ZWydTL5PfoSiUiuYNbkqknm --quantity 0 --asset XBTC --divisible --description BTC  
Transaction (unsigned):   
[clipped]  
Confirm? (y/N) y  
Traceback (most recent call last):  
&nbsp; File “/home/jeremy/counterpartyd\_build/dist/counterpartyd/counterpartyd.py”, line 551, in   
&nbsp; &nbsp; print(unsigned\_tx\_hex) if args.unsigned else json\_print(bitcoin.transmit(unsigned\_tx\_hex))  
&nbsp; File “/home/jeremy/counterpartyd\_build/dist/counterpartyd/lib/bitcoin.py”, line 404, in transmit  
&nbsp; &nbsp; return rpc(‘sendrawtransaction’, [signed\_tx\_hex])  
&nbsp; File “/home/jeremy/counterpartyd\_build/dist/counterpartyd/lib/bitcoin.py”, line 103, in rpc  
&nbsp; &nbsp; raise exceptions.BitcoindError(’{}’.format(response\_json[‘error’]))  
lib.exceptions.BitcoindError: {‘code’: -22, ‘message’: ‘TX rejected’}
