Created
April 2, 2019 20:44
-
-
Save TrevorJTClarke/dd90774a8cf89a199224b67528b15c1d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// View Full documentation here: https://docs.amberdata.io/reference/tokens#get-historical-token-holders | |
axios({ | |
method:'get', | |
url: 'https://web3api.io/api/v1/tokens/ETHEREUM_ADDRESS_HERE/holders/historical?timeFrame=30d', | |
headers: { 'x-api-key': 'YOUR_API_KEY_HERE' } | |
}).then(res => { | |
// res data example: | |
// { | |
// "metadata": { | |
// "columns": ["timestamp", "timestamp.holder*"] | |
// }, | |
// "data": [{ | |
// "timestamp": 1551571200000, | |
// "0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be": 5.124709176050061e+27 | |
// }, | |
// ... | |
// ] | |
// } | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment