This query can be used to fetch nToken accounts positions:
{ accounts(where:{ systemAccountType: nToken}) { id balances { token{symbol} snapshots(first:1, orderBy:blockNumber, orderDirection:desc) { currentBalance } } } }
Last updated 1 year ago