UNPKG

sei-agent-kit

Version:

A package for building AI agents on the SEI blockchain

14 lines 562 B
import { Tool } from "langchain/tools"; export class SeiCitrexGetProductsTool extends Tool { seiKit; name = "citrex_get_products"; 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."; constructor(seiKit) { super(); this.seiKit = seiKit; } async _call() { return this.seiKit.citrexGetProducts(); } } //# sourceMappingURL=getProducts.js.map