SDK Setup
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
npm install lotus-typescript
yarn add lotus-typescript
import Lotus = require("lotus-typescript")
//If the line above presents erros, use this import below
//const {Lotus} = require("lotus-typescript/dist/index.js");
const api_key= "YOUR API KEY";
const lotus = new Lotus(api_key, {
host: "https://api.uselotus.io/", // You can omit this line if using Lotus Cloud
});