nft_wallet_fetcher
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i nft_wallet_fetcher

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

1.5 MB

Total Files

11

Last publish

Collaborators

  • ricqcodes