Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Sushiswap Matic: Certain swap transactions not showing up anymore #95

Open
oldmanfleming opened this issue Apr 28, 2022 · 2 comments
Open

Comments

@oldmanfleming
Copy link

oldmanfleming commented Apr 28, 2022

Hi there,

I have a reference swap transaction on sushiswap matic exchange that can be found here: https://polygonscan.com/tx/0x27ca6dce7210626ab2c1fe8496b0619e1ae4c43ca70ae3d28675e863721e8a2f

Query url:
https://api.thegraph.com/subgraphs/name/sushiswap/matic-exchange

When I try to query that transaction using the below query I no longer see the swap in the results. This transaction was showing up for me in the past. I'm not sure what has changed recently.

{
  swaps(where : { transaction: "0x27ca6dce7210626ab2c1fe8496b0619e1ae4c43ca70ae3d28675e863721e8a2f" }){
    to
    sender
    timestamp
    amountUSD
    amount0In
    amount1In
    amount0Out
    amount1Out
  }
}

Unexpected Result:

{
  "data": {
    "swaps": []
  }
}

Let me know if this is not the right place for posting this issue.

Cheers

@oldmanfleming
Copy link
Author

From reading some of the other open issues, it appears that this may be related to a referenced bug that was introduced and is intended to be rolled back. Let me know if my issue is related and I should simply hold on for a fix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@oldmanfleming and others