GetNFTInfo
Get info of a NFT.
Parameters
contract|string
- The contract address.
token_id|int
- The token id.
action|Action<CommonResponse<EVMResMetadataNFTInfo>>
- The callback function of this method is used to receive the results.
Returns
response class
- CommonResponse<EVMResMetadataNFTInfo>
Code Example
string contract = "contract address";string token_id = "token_id";MWSDK.Ethereum.Metadata.GetNFTInfo(contract, token_id, (res) => { CommonResponse<EVMResMetadataNFTInfo> resObj = res; long code = resObj.code; string message = resObj.message; EVMResMetadataNFTInfo nftInfo = resObj.data; //todo...});
Edit this page on GitHub