getURI(contract, nftIdx)

Feature
Return uri address of the owner of the NFT with given NFT Idx

Parameters

string contract address, int nft Idx,

data of SuccessResponse

string uri

example

const contractAddress = "0x07469989b2562afF5E5C3B116CD3AA5Ef814e5a1fca";
const nftIdx = 1;

// Note: an asynchronous request.
const NFTInfo = async () => {
    const info = await mitum.nft.getURI(contractAddress, nftIdx);
    console.log(info.data);
};
NFTInfo();

// output
www.MyNFT.com

Last updated