GET
/
api
/
blockchain
curl --request GET \
  --url https://public-beam-backend-mainnet.codemelt.codes/api/blockchain
{
  "message": "<string>",
  "data": null,
  "status": "<any>"
}

Overview

This endpoint provides functionality for fetching all enabled chains for the specific client in use along with all currencies for each individual chain

Using the sdk

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
)

Response

200 - application/json
message
string
required
data
null
required
status
any
required