Get Contract List

Returns a list of all KIP-7 contracts deployed by the user in chronological order of contract creation request.

The status field in the request has the following meanings:

  • init: The initial state before sending the transaction

  • submitted: After the contract deployment transaction has been sent

  • deployed: The state in which the contract is deployed

Request
Security:
query Parameters
size
string

The number of items to return (min=1, max=1000, default=100).

cursor
string

The pointer for the next request, after which the result will be returned.

Example: cursor=eyJjm...ZSJ9
status
string

The contract deployment status you wish to return. You can select only one of [all,init,submitted,deployed]. The default value is all.

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/v1/contract
Request samples
curl -i -X GET \
  -u <username>:<password> \
  'https://kip7-api.klaytnapi.com/v1/contract?size=string&cursor=string&status=string' \
  -H 'x-chain-id: string'
Response samples
application/json

Your request was successful.

{
  • "items": [
    ],
  • "cursor": "eyJjm...ZSJ9"
}