← Back to home

NFT Airdrop API

PostgreSQL

NFT Airdrop API is REST API that gives multiple metrics regarding NFT collections holders on Optimism Network.

Screenshots

NFT Airdrop API screenshot 1
NFT Airdrop API screenshot 2
NFT Airdrop API screenshot 3

Problem Statement

NFT collections often needs to measure its community engagement e.g. to do an airdrop. Currently, the most popular way for this is taking a snapshot at NFT holders by some chosen block. But snapshot doesn't measure holders engagement good enough - people who hold from the beginning and never sells are treated the same as flippers who hold for few hours around the snapshot.NFT Airdrop API is API for NFT collections that provides much more deep view on collections holders - considering holding time, number of trades, number of held tokens - at chosen block.

Solution

API is deployed on AWS Lambda. It uses alchemy.com API to get transfers of collections.Data is saved on PostgreSQL and is updated by updateCollectionsData lambda every hour to aggregate new transfers.Each lambda function is equivalent to API resource (excluding updateCollectionsData).

Hackathon

ETHOnline 2022

2022

Contributors