UNPKG

sei-agent-kit

Version:

A package for building AI agents on the SEI blockchain

17 lines 754 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SeiCitrexGetProductsTool = void 0; const tools_1 = require("langchain/tools"); class SeiCitrexGetProductsTool extends tools_1.Tool { constructor(seiKit) { super(); this.seiKit = seiKit; this.name = "citrex_get_products"; this.description = "Retrieves all products from the Citrex Protocol. Returns a list of products with details like ID, symbol, base/quote assets, fees, price increment, min/max quantities, weights, mark price, and active status."; } async _call() { return this.seiKit.citrexGetProducts(); } } exports.SeiCitrexGetProductsTool = SeiCitrexGetProductsTool; //# sourceMappingURL=getProducts.js.map