nftresolve

command module
v0.0.0-...-4ec286d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

README

Resolve NFT

Most NFTs are just a link (or some metadata). This simple application calls the smart contract based on the available NFT standards (ERC721/ERC1155) to retrieve the metadata from the URL.

The only thing what you need

  • contract id
  • id of the NFT token
  • (chain rpc endpoint)

Example:

nftresolve --chain avax 0xd17189a6a70D33c733d745748d4352bf856C953F 5

nftresolve --chain avax 0xd17189a6a70D33c733d745748d4352bf856C953F 5
URI: https://ipfs.infura.io/ipfs/QmSTJsbqFeqVrfGnNLjuJ5vpxBrUdgBJU2w6ZbTxTgHijr
{
   "attributes": [],
   "description": "This collection includes water colored map of capitals all around the word. The name of the cities are intentionally missing..."
   "image": "https://ipfs.infura.io/ipfs/QmVraHy82d2JVcG6BDN32tzwocZMFKZYA7uyCPY9SGqdTr",
   "name": "The ballad of far cities #5"
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL