-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
The API returns an unkeyed value for the actual data requested, one of which is the array that usually comes with a key like "data" or something. Because of the lack of this key, it's slightly more difficult to get the results needed.
Using topholders endpoint
Here's a workaround for anyone it helps
let resLen = Object.keys(response).length;
response = response[Object.keys(response)[--resLen]];
It would help to have this key, though adding it now may break everyone's code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels