Kite
API ReferenceChains

Add a chain

POST
/api/chains

Authorization

rootKey
headerx-kite-root-key<token>

The server's root key. Grants access to every endpoint; add x-kite-app-id to act as one app

Request Body

application/json
  1. body
caip2Id*string
Match^eip155:[0-9]+$

Response Body

Response for status 201

application/json
  1. response
id*string
Formatuuid
isActive*boolean
caip2Id*string
deletedAt*|
Formatdate-time
createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
Example Request
curl -X POST 'https://testnet.usekite.site/api/chains' \  -H 'Content-Type: application/json' \  -d '{  "caip2Id": "string"}'
Example Response201
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "isActive": true,  "caip2Id": "string",  "deletedAt": "2019-08-24T14:15:22Z",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}