API ReferenceChains
Configure a chain
PUT
rootKeyheader
x-kite-root-key<token>The server's root key. Grants access to every endpoint; add x-kite-app-id to act as one app
id*stringFormat
uuidapplication/json- body
rpcUrls?array<>|Items
items <= 10slippageBps*|Range
0 <= value <= 9900kiteFactoryAddress*stringMatch
^0x[0-9a-fA-F]{40}$usdPeggedTokenId*stringFormat
uuidsettlementTokenId*stringFormat
uuidsettlementAddress?|Match
^0x[0-9a-fA-F]{40}$onchainNotifierProviders*array<>gasSponsorProviders*array<>maxGasPrice?|Match
^[0-9]+$Length
length <= 78Response for status 200
application/json- response
id*stringFormat
uuidisActive*booleancaip2Id*stringdeletedAt*|Format
date-timecreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timeconfig*|nullcurl -X PUT 'https://testnet.usekite.site/api/chains/497f6eca-6276-4993-bfeb-53cbbbba6f08/config' \ -H 'Content-Type: application/json' \ -d '{ "slippageBps": 0, "kiteFactoryAddress": "string", "usdPeggedTokenId": "c72e8564-c07d-4a7b-9853-0eb8448cf2c7", "settlementTokenId": "5e7e1039-acda-4faf-ad40-2a57452f567a", "onchainNotifierProviders": [ "Alchemy" ], "gasSponsorProviders": [ "Alchemy" ]}'Example Response200
{ "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", "config": { "chainId": "9e7fb22a-9e5b-420e-8fd7-e3454fcfd5fd", "rpcUrls": [ "string" ], "slippageBps": 0, "kiteFactoryAddress": "string", "usdPeggedTokenId": "c72e8564-c07d-4a7b-9853-0eb8448cf2c7", "settlementTokenId": "5e7e1039-acda-4faf-ad40-2a57452f567a", "settlementAddress": "string", "onchainNotifierProviders": [ "Alchemy" ], "gasSponsorProviders": [ "Alchemy" ], "maxGasPrice": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "settlementToken": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "chainId": "9e7fb22a-9e5b-420e-8fd7-e3454fcfd5fd", "address": "string", "symbol": "string", "decimals": 0, "name": "string", "version": "string", "icon": "string", "supportsEIP3009": true, "listed": true, "deletedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "usdPeggedToken": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "chainId": "9e7fb22a-9e5b-420e-8fd7-e3454fcfd5fd", "address": "string", "symbol": "string", "decimals": 0, "name": "string", "version": "string", "icon": "string", "supportsEIP3009": true, "listed": true, "deletedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } }}