Skip to main content
GET
/
v2
/
chains
Typescript (SDK)
import { RaijinLabsLucidAi } from "raijin-labs-lucid-ai";

const raijinLabsLucidAi = new RaijinLabsLucidAi();

async function run() {
  const result = await raijinLabsLucidAi.chains.lucidListChains();

  console.log(result);
}

run();
{
  "success": true,
  "count": 3,
  "chains": [
    {
      "chainId": "solana-devnet",
      "type": "solana",
      "connected": true,
      "blockHeight": 285000000
    },
    {
      "chainId": "base",
      "type": "evm",
      "connected": true,
      "blockHeight": 12500000
    },
    {
      "chainId": "ethereum",
      "type": "evm",
      "connected": false,
      "blockHeight": 0
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.lucid.foundation/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Lucid API key (lk_live_... or lk_test_...)

Response

OK

success
boolean
required
count
integer
required
chains
object[]
required