Created
October 3, 2022 07:14
-
-
Save JWPapi/a62e66ebe2ba14d9326f47d7e14b3ee9 to your computer and use it in GitHub Desktop.
This file contains 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
import AnkrProvider from '@ankr.com/ankr.js'; | |
const provider = new AnkrProvider(); | |
export default async function handler(req,res) { | |
const owners = await provider.getNFTHolders({ | |
contractAddress: '0x47749c5b970e63f3a0ed57cd6cef773e74fafe9d', | |
blockchain: 'polygon', | |
}) | |
res.json({owners}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment