Returns information of a specified FT contract. It can only read contracts of the ERC-721 or KIP-17 standards. To retrieve the correct information, the functions name()
, symbol()
, totalSupply()
have to be implemented.
If the requested contract
*Note
Get NFT Contract API does not check for the conformity of the contract with ERC-721/KIP-17 standards, but simply calls the function
name()
,symbol()
,totalSupply()
and returns the results. This means that entering a FT contract address to a Get NFT Contract API will return the name, symbol etc. of the FT.
The request is successful.
The request is not valid.
The credential you provided is invalid.
curl -i -X GET \ -u <username>:<password> \ 'https://node-api.klaytnapi.com/v1/metadata/nft/{address}' \ -H 'x-chain-id: string'
The request is successful.
{- "address": "0x369611bc873b38175b91d6cc8c4018bdd3068b86",
- "name": "Konnect NFT Certification",
- "symbol": "KNC",
- "totalSupply": "0x86"
}