import { Cosmos } from '@apophis-sdk/cosmos';
const network = await Cosmos.getNetworkFromRegistry('neutrontestnet');
const api = await Cosmos.rest(network) as any;
// I genuinely have no idea if this endpoint exists, but it demonstrates the point
const { items, pagination } = await api.authz.v1beta1['neutron1...'].grants('GET');
console.log(items);