UNPKG

sei-agent-kit

Version:

A package for building AI agents on the SEI blockchain

14 lines 484 B
import { Tool } from "langchain/tools"; export class SeiCitrexGetServerTimeTool extends Tool { seiKit; name = "citrex_get_server_time"; description = "Retrieves the current server time from the Citrex Protocol. Returns the server time as a Unix timestamp in milliseconds."; constructor(seiKit) { super(); this.seiKit = seiKit; } async _call() { return this.seiKit.citrexGetServerTime(); } } //# sourceMappingURL=getServerTime.js.map