Get NFT Contract

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

  • does not exist: All fields except the contract address will be filled with empty strings or 0/-1.
  • is not of the ERC-721/KIP-17 standards: The returned results will be different depending on the contract.
  • does not implement the required functions: The fields for the function will be filled with empty strings or 0/-1.


*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.

Request
Security:
path Parameters
address
required
string

NFT Contract Address

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Responses
200

The request is successful.

400

The request is not valid.

401

The credential you provided is invalid.

get/v1/metadata/nft/{address}
Request samples
curl -i -X GET \
  -u <username>:<password> \
  'https://node-api.klaytnapi.com/v1/metadata/nft/{address}' \
  -H 'x-chain-id: string'
Response samples
application/json

The request is successful.

{
  • "address": "0x369611bc873b38175b91d6cc8c4018bdd3068b86",
  • "name": "Konnect NFT Certification",
  • "symbol": "KNC",
  • "totalSupply": "0x86"
}