Get Contract

Returns the data for a specified KIP-17 contract. You can use either the contract alias or contract address.

Request
Security:
path Parameters
contract-address-or-alias
required
string

Contract address (in hex.) or alias.

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Responses
200

Your request was successful.

400

Your request is not valid.

401

The credential you entered is invalid.

get/v2/contract/{contract-address-or-alias}
Request samples
curl -i -X GET \
  -u <username>:<password> \
  'https://kip17-api.klaytnapi.com/v2/contract/{contract-address-or-alias}' \
  -H 'x-chain-id: string'
Response samples
application/json

Your request was successful.

{
  • "address": "0x7766a3af39e4fffbaccf6efa6a37ed195f9179b4",
  • "alias": "test",
  • "name": "Test NFT",
  • "symbol": "TEST",
  • "options": {
    }
}