Uso de una fuente específica en The Graph Client
- INDEXERS
¿Cómo le digo a la función de ejecución de The Graph Client que utilice una fuente específica, como Uniswap V2 o V3, al ejecutar una consulta?
答案1
i have 2 sources, uniswap v2 and v3, they both share similar fields, but also have different ones. So for example both sources V2 and V3 have a "Swap" schema, but only V2 has the from field, so when i now try to get a swap and the from field, i get an error because V3 doesnt have that field. So how can i tell the execute function from the graph client to pick V2?