Get Contract

Returns the information of a KIP-37 contract. Use the alias or contract address to specify the contract.

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.

404

The resource you requested does not exist.

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

Your request was successful.

{
  • "address": "0xcbcbe8297801600bf8e0530baa2fdd6358547ebe",
  • "alias": "my-first-kip37",
  • "status": "deployed",
  • "options": {
    }
}