New answers tagged the-graph
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 ...
Top 50 recent answers are included
Related Tags
the-graph × 50subgraph × 27
solidity × 7
blockchain × 7
events × 7
graphql × 6
go-ethereum × 3
tokens × 3
nft × 3
database × 3
docker × 3
polygon × 3
graphs × 3
web3js × 2
ganache × 2
uniswap × 2
erc-721 × 2
openzeppelin × 2
hardhat × 2
npm × 2
query × 2
blockchain-size × 2
uniswapv3 × 2
transactions × 1
dapps × 1