# create\_dividend: Do I have to pay for fee in XCP? (0.0004XCP)

**URL:** <https://forums.counterparty.io/t/create-dividend-do-i-have-to-pay-for-fee-in-xcp-0-0004xcp/641>\
**Category:** Counterparty\
**Created:** [December 28, 2014, 8:00am UTC](https://forums.counterparty.io/t/create-dividend-do-i-have-to-pay-for-fee-in-xcp-0-0004xcp/641 "2014-12-28T08:00:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![zono](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/zono/32/47_2.png) [@zono](https://forums.counterparty.io/u/zono)\
**Post date:** [December 28, 2014, 8:00am UTC](https://forums.counterparty.io/t/create-dividend-do-i-have-to-pay-for-fee-in-xcp-0-0004xcp/641/1 "2014-12-28T08:00:07Z")

</div>

Hi, I did create\_dividend twice I got an unexpected result.  

  

My question is...

  

40000 XCP is fee for dividend? Do I have to pay XCP and BTC as transaction fee?&nbsp;

  

40000 is from this..

  

Case1: 120900000(before XCP) - 120860000(after XCP) = 40000XCP

  

Case2: 120860000(before XCP) - 120819997(after XCP) = 40003XCP

  

---------------------------

  

Case1:

  

[Before executing dividend]

  

\*All of asset holders of XSTAR:

  

address: "1A31xhRp9FyQZXG57hXczaVLkH5Dm3m9jy", // Asset Owner. XCP quantity was 120900000

balance: "0.0000007", //XSTAR. divisible asset

percentage: "70.0000000000"

  

address: "17sdLuNtD7ZpFCVZ3Doz58fwxFF6i6CKk2",

balance: "0.0000002", //XSTAR

percentage: "20.0000000000"

  

address: "1KMdf7VWLEBdCo9iwmtpW7kJaSzSAUz2zJ",

balance: "0.0000001", //XSTAR

percentage: "10.0000000000"

  

[Executing command]

  

Asset=XSTAR, Pay in XSTAR as dividend asset.&nbsp;

  

'{"jsonrpc":"2.0", "id":0, "method":"create\_dividend", "params":{"source":"1A31xhRp9FyQZXG57hXczaVLkH5Dm3m9jy", "asset":"XSTAR", "dividend\_asset":"XSTAR", "quantity\_per\_unit":10000000}}'

  

[After executing dividend]

  

\*All of asset holders of XSTAR:

  

address: "1A31xhRp9FyQZXG57hXczaVLkH5Dm3m9jy", // Asset Owner. XCP quantity was 120860000

balance: "0.00000067", //XSTAR. divisible asset

percentage: "67.0000000000"

  

address: "17sdLuNtD7ZpFCVZ3Doz58fwxFF6i6CKk2",

balance: "0.00000022", //XSTAR. divisible asset

percentage: "22.0000000000"

  

address: "1KMdf7VWLEBdCo9iwmtpW7kJaSzSAUz2zJ",

balance: "0.00000011", //XSTAR. divisible asset

percentage: "11.0000000000"

---

<div class="post-metadata">

**Author:** ![zono](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/zono/32/47_2.png) [@zono](https://forums.counterparty.io/u/zono)\
**Post date:** [December 28, 2014, 8:00am UTC](https://forums.counterparty.io/t/create-dividend-do-i-have-to-pay-for-fee-in-xcp-0-0004xcp/641/2 "2014-12-28T08:00:49Z")

</div>

Case2:

  

[Before executing dividend]

  

\*All of asset holders of XSTAR:

  

address: "1A31xhRp9FyQZXG57hXczaVLkH5Dm3m9jy", // Asset Owner. XCP quantity was 120860000

balance: "0.0000007", //XSTAR. divisible asset

percentage: "70.0000000000"

  

address: "17sdLuNtD7ZpFCVZ3Doz58fwxFF6i6CKk2", // Asset Owner. XCP quantity was 0

balance: "0.0000002", //XSTAR

percentage: "20.0000000000"

  

address: "1KMdf7VWLEBdCo9iwmtpW7kJaSzSAUz2zJ", // Asset Owner. XCP quantity was 88480000

balance: "0.0000001", //XSTAR

percentage: "10.0000000000"

  

[Executing command]

  

Asset=XSTAR, Pay in XCP as dividend asset.&nbsp;

  

'{"jsonrpc":"2.0", "id":0, "method":"create\_dividend", "params":{"source":"1A31xhRp9FyQZXG57hXczaVLkH5Dm3m9jy", "asset":"XSTAR", "dividend\_asset":"XSTAR", "quantity\_per\_unit":10000000}}'

  

[After executing dividend]

  

\*All of asset holders of XSTAR:

  

address: "1A31xhRp9FyQZXG57hXczaVLkH5Dm3m9jy", // Asset Owner. XCP quantity was 120819997

balance: "0.0000007", //XSTAR. divisible asset

percentage: "70.0000000000"

  

address: "17sdLuNtD7ZpFCVZ3Doz58fwxFF6i6CKk2", // Asset Owner. XCP quantity was 1

balance: "0.0000002", //XSTAR

percentage: "20.0000000000"

  

address: "1KMdf7VWLEBdCo9iwmtpW7kJaSzSAUz2zJ", // Asset Owner. XCP quantity was 88480002

balance: "0.0000001", //XSTAR

percentage: "10.0000000000"

---

<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:** [December 28, 2014, 11:56am UTC](https://forums.counterparty.io/t/create-dividend-do-i-have-to-pay-for-fee-in-xcp-0-0004xcp/641/3 "2014-12-28T11:56:43Z")

</div>

@zono there’s a discussion about confusion around dividend payments here:

[https://github.com/CounterpartyXCP/counterwallet/issues/596](https://github.com/CounterpartyXCP/counterwallet/issues/596)  

  

Dividend is not paid to the asset issuer (address).&nbsp;

  

So if you have 100 issued units of an asset and 70 are still owned by the issuing address A, and two external holders (B and C, holding 20 and 10), then if you pay 100 XCP of dividend (so 1 XCP per 1 asset), only 30 will be paid out (20XCP to B and 10XCP to C), while 70XCP will not be paid because the issuing address has 70 units of the asset.

  

Before:

A - 70 asset, 1000 XCP # asset issuer

B - 20 asset

C - 10 asset

  

After payment of 100 XCP dividend (1 XCP per each unit of asset held)

A - 70 asset, 970 XCP  

B - 20 asset, 20 XCP

C - 10 asset, 10 XCP

  

Transaction fees should be normal. I haven’t looked at the exact numbers in your examples because they are too small (I would need Excel or calculator).

---

<div class="post-metadata">

**Author:** ![zono](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/zono/32/47_2.png) [@zono](https://forums.counterparty.io/u/zono)\
**Post date:** [December 28, 2014, 2:40pm UTC](https://forums.counterparty.io/t/create-dividend-do-i-have-to-pay-for-fee-in-xcp-0-0004xcp/641/4 "2014-12-28T14:40:10Z")

</div>

@something

  

Thank you always.&nbsp;

  

"Dividend is not paid to the asset issuer (address). "、"Transaction fees should be normal."

  

All right. I understand clearly. I will try it again. I will use larger quantity next time.

  

Thanks.

---

<div class="post-metadata">

**Author:** ![zono](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/zono/32/47_2.png) [@zono](https://forums.counterparty.io/u/zono)\
**Post date:** [January 2, 2015, 1:57pm UTC](https://forums.counterparty.io/t/create-dividend-do-i-have-to-pay-for-fee-in-xcp-0-0004xcp/641/5 "2015-01-02T13:57:20Z")

</div>

Hi, I finally understood the meaning of 0.0004XCP.

  

Since counterpartyd&nbsp;v9.45.0, we have to pay&nbsp;dividend&nbsp;fee which is 0.0002 XCP per recipient. The number of recipients were two in my case. That's why it cost 0.0004XCP.

  

But I am very curious about the reason why the fee is needed. Regarding the 0.5 XCP issuance fee, I understand that is a good way to avoid spam. How about dividend, is there any reasons?

  

Thanks.

---

<div class="post-metadata">

**Author:** ![zono](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/zono/32/47_2.png) [@zono](https://forums.counterparty.io/u/zono)\
**Post date:** [January 2, 2015, 1:58pm UTC](https://forums.counterparty.io/t/create-dividend-do-i-have-to-pay-for-fee-in-xcp-0-0004xcp/641/6 "2015-01-02T13:58:23Z")

</div>

-

---

<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 2, 2015, 2:05pm UTC](https://forums.counterparty.io/t/create-dividend-do-i-have-to-pay-for-fee-in-xcp-0-0004xcp/641/7 "2015-01-02T14:05:56Z")

</div>

\>&nbsp;But I am very curious about the reason why the fee is needed.&nbsp;

  

Hi @zono. It’s the same reason - to prevent spam.

See:

[https://github.com/CounterpartyXCP/counterpartyd/issues/254](https://github.com/CounterpartyXCP/counterpartyd/issues/254)

---

<div class="post-metadata">

**Author:** ![zono](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/zono/32/47_2.png) [@zono](https://forums.counterparty.io/u/zono)\
**Post date:** [January 2, 2015, 2:16pm UTC](https://forums.counterparty.io/t/create-dividend-do-i-have-to-pay-for-fee-in-xcp-0-0004xcp/641/8 "2015-01-02T14:16:46Z")

</div>

Thank you @something. I understand it.
