Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nft_wallet_fetcher

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nft_wallet_fetcher

A utility to fetch NFT holder information.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

NFT Wallet Fetcher

The NFT Wallet Fetcher is a TypeScript library designed to facilitate the retrieval of NFT wallet information from the blockchain. It leverages the Injective Labs protocols to fetch and process NFT ownership data, making it easier for developers to integrate NFT data into their applications.

Features

  • Fetch NFT ownership data from specified smart contracts.
  • Process and convert NFT data into a CSV format for easy analysis and reporting.
  • Support for multiple blockchain networks via Injective Labs SDK.

Installation

Install nft_wallet_fetcher using npm:

npm install nft_wallet_fetcher

Or using yarn:

yarn add nft_wallet_fetcher

Usage

First, import NFTDataProcessor from nft_wallet_fetcher:

import { NFTDataProcessor } from 'nft_wallet_fetcher';

Then, initialize it with your contract addresses:

const contractAddresses = [
  { name: "Injective Quants", address: "inj16m9n05n80uylxaafk32qyha38fmwcfpssnpfak" },
  // Add more contracts as needed
];

const nftProcessor = new NFTDataProcessor(contractAddresses);

Fetch and process NFT data:

async function fetchNFTData() {
  await nftProcessor.findOwnersOfNFTs();
  await nftProcessor.convertToCSV();
}

fetchNFTData();

This will fetch the NFT data and generate a CSV file in the specified output directory.

API Reference

Please refer to the TypeScript interface definitions for detailed API information.

Contributing

Contributions are always welcome! Please read the contributing guide for ways to contribute, and the process for submitting pull requests to us.

Support

If you encounter any issues or require assistance, please open an issue on our GitHub issues page.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Keywords

FAQs

Package last updated on 08 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc