# How to claim XCP?

**URL:** <https://forums.counterparty.io/t/how-to-claim-xcp/2577>\
**Category:** Support\
**Created:** [January 5, 2017, 3:01am UTC](https://forums.counterparty.io/t/how-to-claim-xcp/2577 "2017-01-05T03:01:07Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [January 22, 2017, 5:37pm UTC](https://forums.counterparty.io/t/how-to-claim-xcp/2577/13 "2017-01-22T17:37:24Z")

</div>

Okay, so the input is like this (divisible assets are quoted in 100 million units, so no 535…):

```auto
{
"method": "create_send",
"params": {
"source": "1AbgbDkm3TD3prVWKxu8DcxvAN6zttpQMA", 
"destination": "19w9LciXjWi1Cch7pdXdrezWZ8x4wgpVVB",
"asset": "XCP", 
"quantity": 53572727273},
"jsonrpc": "2.0",
"id": 1
}

```

And response from the server:

```auto
{
  "result": "010000000150ce87d4185ff038742abe9589196a7e57f11775767783cdf00a3631f5ac525b000000001976a914694852a4688bdfcd7173ffde09feb2e2d3a77bec88acffffffff0336150000000000001976a91461fe6db7f9473079e34070454f8e3e7c26b8ed2e88ac00000000000000001e6a1cc4df1c2f25a347a5096a55807be4b746cf2bf93f81821e1cba8770d905890e00000000001976a914694852a4688bdfcd7173ffde09feb2e2d3a77bec88ac00000000",
  "id": 1,
  "jsonrpc": "2.0"
}

```

Now in Bitcoin debug console or CLI run the two commands as per that how-to linked above:

- `signrawtransaction` (use the result string from above)
- `sendrawtransaction` (use the output from signrawtransaction)

I recommend you to the whole process by yourself (I’ll shortly post a Windows how-to) or at least when you sign the transaction and before you send it, paste the signed transaction into [https://blockchain.info/decode-tx](https://blockchain.info/decode-tx) to make sure the “in” and “out” addresses are correct.

Edit: see [How to use curl to access the Counterparty API from Windows](https://forums.counterparty.io/t/how-to-use-curl-to-access-the-counterparty-api-from-windows/2598)

---

_[View the full topic](https://forums.counterparty.io/t/how-to-claim-xcp/2577)._
