New answers tagged

0 votes

How to call functions or access public mappings from inside of a subgraph?

You can use .bind contract Uniswap V3 subgraph has an example here: https://github.com/Uniswap/v3-subgraph/blob/bf03f940f17c3d32ee58bd37386f26713cff21e2/src/mappings/core.ts#L402-L404 let ...
0xh8h's user avatar
  • 155

Top 50 recent answers are included