Notional V3 Subgraphs
The Graph & subgraphs
GraphQL
Notional Subgraphs
Version
Network
Subgraph Endpoint
Query Notional’s subgraph with python
from gql import gql, Client from gql.transport.requests
import RequestsHTTPTransport
#Connect with theGraph
sample_transport = RequestsHTTPTransport( url="https://api.studio.thegraph.com/proxy/33671/notional-finance-v3-arbitrum/v0.0.135/", # change to the appropriate endpoint
verify=True, retries=10, ) client = Client( transport=sample_transport )
#Update the GQL query
query = gql('''
{
accounts(first: 1000, where:{ systemAccountType: None}) {
id
}
}
''')
response = client.execute(query) Last updated