Get Contract Owner

Returns the owner of a specified KIP-37 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}/owner
Request samples
curl -i -X GET \
  -u <username>:<password> \
  'https://kip37-api.klaytnapi.com/v2/contract/{contract-address-or-alias}/owner' \
  -H 'x-chain-id: string'
Response samples
application/json

Your request was successful.

{
  • "owner": "0xa809284C83b901eD106Aba4Ccda14628Af128e14"
}