Skip to content

Instantly share code, notes, and snippets.

@taylorjdawson
Last active April 23, 2019 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taylorjdawson/c281bd43c5929c72438f073fe098046b to your computer and use it in GitHub Desktop.
Save taylorjdawson/c281bd43c5929c72438f073fe098046b to your computer and use it in GitHub Desktop.
Amberdata API Example - Address Metadata
axios({
method:'get',
url: 'https://web3api.io/api/v1/addresses/ETHEREUM_ADDRESS_HERE/metadata',
headers: { 'x-api-key': 'YOUR_API_KEY_HERE' }
}).then(res => {
// response data example:
// {
// "firstSeen": "2017-11-23T05:41:19.000Z",
// "type": "contract",
// "contractTypes": ["ERC721"],
// "probability": 1,
// "network": {
// "blockchainId": "1c9c969065fcd1cf",
// "link": "https://amberdata.io/addresses/0x06012c8cf97bead5deae237070f9587f8e7a266d"
// }
// }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment