The Graph.
Iniciar sesión

在 Graph Client 中使用特定来源

Discusión
  • INDEXERS

如何让 Graph Client 中的执行函数在执行查询时使用特定的来源,例如 Uniswap V2 或 V3?

Agregar comentario

Respuestas1

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?

Agregar comentario

Sabes la respuesta?

Please log in and share it.

Iniciar sesión