query TopUsers($cursor: String, $within: String!) { topUsers(cursor: $cursor, within: $within) { users { name amount } cursor } }
ItemFields
query items($sub: String, $sort: String, $cursor: String) { items(sub: $sub, sort: $sort, cursor: $cursor) { cursor items { ...ItemFields } } }
ItemFields
is a reusable query fragment.