sei-agent-kit
Version:
A package for building AI agents on the SEI blockchain
17 lines • 682 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SeiCitrexGetServerTimeTool = void 0;
const tools_1 = require("langchain/tools");
class SeiCitrexGetServerTimeTool extends tools_1.Tool {
constructor(seiKit) {
super();
this.seiKit = seiKit;
this.name = "citrex_get_server_time";
this.description = "Retrieves the current server time from the Citrex Protocol. Returns the server time as a Unix timestamp in milliseconds.";
}
async _call() {
return this.seiKit.citrexGetServerTime();
}
}
exports.SeiCitrexGetServerTimeTool = SeiCitrexGetServerTimeTool;
//# sourceMappingURL=getServerTime.js.map