Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function fetchClaims({ net, address }) {
const response = await api.getClaimsFrom({ net, address }, api.neoscan);
const { claims } = response.claims;
return map(claims, 'claim');
}