pancake-v2-subgraph icon indicating copy to clipboard operation
pancake-v2-subgraph copied to clipboard

Querying mints for a transaction does not return all results

Open flowo opened this issue 5 years ago • 1 comments

When querying a transaction per hash from the subgraph, the mints only contain a single entry (the one with smaller liquidity) but the one interesting for the user is missing. See for example tx hash: 0x7ca76dd804d43003f8a9bac4b60faf8258d5ee50674683d50383f1f6f468f2a4

Link to playground: api.bscgraph.org/subgraphs/name/cakeswap

Expected two entries in the mints array, but only got (the less interesting) one.

BTW: is api.bscgraph.org/subgraphs/name/cakeswap supposed to be used by the community to build upon?

flowo avatar Feb 09 '21 09:02 flowo

Following your example, this transaction has emitted a single Mint event which is why the subgraph only returns a single entry; are you talking about parameters?

Note: subgraph will become much more reliable within the coming weeks; and community will be able to deploy their own; in the meantime you can build on top of this one as it's syncing.

ChefKai avatar Feb 24 '21 15:02 ChefKai