NodeJS Fetch Ethereum NFT Metadata
This package fetches an NFT Metadata from a contract using ERC721 or ERC1155 (Most NFTs)
It also proxies ipfs urls to https
Installation
Install fetch-nft-metadata with npm
npm install fetch-nft-metadata
Usage/Examples
A full example is availible in ./example.js
(async () => {
var FetchNFTMetadata = require("fetch-nft-metadata")(
"ETH-RPC-URL"
);
var result = await FetchNFTMetadata.fetch(
"0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
476
);
console.log(result);
})();
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Authors
License
MIT