Documentation
Core Concepts
Koios

Koios

Koios (opens in a new tab) is a Decentralized and Elastic RESTful query layer for exploring data on Cardano blockchain to consume within applications/wallets/explorers/etc.

Usage example to initialize Lucid with Koios:

import { Lucid, Koios } from "@lucid-evolution/lucid";
 
const lucid = await Lucid(
  new Koios("https://preprod.koios.rest/api/v1"),
  "Preprod"
);

If you have a bearer token

const lucid = await Lucid(
new Koios("<koios-api-url>", "<koios-bearer-token>"),
"Preprod"
);