curl --request GET \
--url https://public-beam-backend-mainnet.codemelt.codes/api/blockchain{
"message": "<string>",
"data": [
{
"id": 123,
"name": "<string>",
"kyberSlug": "<string>",
"chainId": 123,
"messageReceiver": "<unknown>",
"status": "<unknown>",
"type": "<unknown>",
"chainCurrencies": [
{
"id": 123,
"address": "<string>",
"chainId": 123,
"currencyId": 123,
"chain": {
"id": 123,
"name": "<string>",
"kyberSlug": "<string>",
"chainId": 123,
"messageReceiver": "<unknown>",
"status": "<unknown>",
"type": "<unknown>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"type": "<unknown>",
"relatedCurrencyId": "<unknown>",
"relatedCurrency": "<unknown>",
"currency": {
"id": 123,
"name": "<string>",
"ticker": "<string>",
"decimals": 123,
"price": 123,
"relativeImagePath": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"status": "<unknown>"
}curl --request GET \
--url https://public-beam-backend-mainnet.codemelt.codes/api/blockchain{
"message": "<string>",
"data": [
{
"id": 123,
"name": "<string>",
"kyberSlug": "<string>",
"chainId": 123,
"messageReceiver": "<unknown>",
"status": "<unknown>",
"type": "<unknown>",
"chainCurrencies": [
{
"id": 123,
"address": "<string>",
"chainId": 123,
"currencyId": 123,
"chain": {
"id": 123,
"name": "<string>",
"kyberSlug": "<string>",
"chainId": 123,
"messageReceiver": "<unknown>",
"status": "<unknown>",
"type": "<unknown>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"type": "<unknown>",
"relatedCurrencyId": "<unknown>",
"relatedCurrency": "<unknown>",
"currency": {
"id": 123,
"name": "<string>",
"ticker": "<string>",
"decimals": 123,
"price": 123,
"relativeImagePath": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"status": "<unknown>"
}import api, { IConnection } from "codemelt-retro-api-sdk"
const connection: IConnection = {
host: '<enter you host url here>',
headers: {
'x-api-key': '<enter your api key here>'
}
}
const response = await api.functional.api.blockchain.getAvailableChains(
connection
)
Show child attributes
Show child attributes
Construct a type with the properties of T except for those in type K.
Show child attributes
Show child attributes