# Negative WMATIC holding on Polygon (Missing Purchase History)

**URL:** <https://discuss.koinly.io/t/negative-wmatic-holding-on-polygon-missing-purchase-history/5883>\
**Category:** Koinly Support\
**Created:** [July 3, 2021, 1:32pm UTC](https://discuss.koinly.io/t/negative-wmatic-holding-on-polygon-missing-purchase-history/5883 "2021-07-03T13:32:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Marques](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/david_marques/32/3617_2.png) [@David\_Marques](https://discuss.koinly.io/u/David_Marques)\
**Post date:** [July 3, 2021, 1:32pm UTC](https://discuss.koinly.io/t/negative-wmatic-holding-on-polygon-missing-purchase-history/5883/1 "2021-07-03T13:32:57Z")

</div>

Hello.  
I uploaded all my wallets onto Koinly, but I have a final negative wmatic holdings. This happened because I provided liquidity into some wmatic pool of some farm on polygon, but for some reason the transactions do not account for the wrapping of the matic token, and so it seems like Koinly considers that I got the Wmatic tokens for free, instead of wraping them, and for that reason my capital gains are way higher than they should. I have several transactions with the Missing Purchase History warning.

I uploaded my wallet transactions by providing the public address to the Polygon blockchain.

So far I have tried to understand what the problem was, and the conclusion that I arrived to was that the transactions do not account for the wrapping of the matic token.

Thank you!

---

<div class="post-metadata">

**Author:** ![Petur\_Koinly](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/petur_koinly/32/1155_2.png) [@Petur\_Koinly](https://discuss.koinly.io/u/Petur_Koinly)\
**Post date:** [July 9, 2021, 11:47am UTC](https://discuss.koinly.io/t/negative-wmatic-holding-on-polygon-missing-purchase-history/5883/2 "2021-07-09T11:47:59Z")

</div>

Hi David,

This is quite a common issue since these transactions are actually not reported on the block explorers (only the MATIC part, not the WMATIC).

We are looking into ways to fix this but until we do, this will need to be fixed manually.  
You can do that by locating the Withdrawals of MATIC that should be shown as trades and manually change them to trades from MATIC to WMATIC.

Best regards,  
Petur

---

<div class="post-metadata">

**Author:** ![David\_Marques](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/david_marques/32/3617_2.png) [@David\_Marques](https://discuss.koinly.io/u/David_Marques)\
**Post date:** [July 11, 2021, 3:06pm UTC](https://discuss.koinly.io/t/negative-wmatic-holding-on-polygon-missing-purchase-history/5883/3 "2021-07-11T15:06:47Z")

</div>

Hello. Thanks for the answer.

I am actually writing a Python tool to try and see if I can identify these Wrapping operations. I think I may have a found a solution by looking at the internal and normal transactions on PolygonScan. If I manage to implement this routine using the Polygonscan API (Which I assume you are using), how would I share it with Koinly (Assuming you are receiving Community Contributions obviously).

---

<div class="post-metadata">

**Author:** ![David\_Marques](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/david_marques/32/3617_2.png) [@David\_Marques](https://discuss.koinly.io/u/David_Marques)\
**Post date:** [July 11, 2021, 3:19pm UTC](https://discuss.koinly.io/t/negative-wmatic-holding-on-polygon-missing-purchase-history/5883/4 "2021-07-11T15:19:05Z")

</div>

Now that I think about it, would it not be a reasonable and practical solution to just consider both WMATIC and MATIC as being the same currency?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex052/uploads/koinly_app/original/1X/7ac58e5593a7122893d066794a7254dcdb5ddb31.png) [@system](https://discuss.koinly.io/u/system)\
**Post date:** [September 9, 2021, 3:19pm UTC](https://discuss.koinly.io/t/negative-wmatic-holding-on-polygon-missing-purchase-history/5883/5 "2021-09-09T15:19:24Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
