sei-agent-kit
Version:
A package for building AI agents on the SEI blockchain
17 lines • 793 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SeiCitrexListBalancesTool = void 0;
const tools_1 = require("langchain/tools");
class SeiCitrexListBalancesTool extends tools_1.Tool {
constructor(seiKit) {
super();
this.seiKit = seiKit;
this.name = "citrex_list_balances";
this.description = "Lists all margin balances for the account and sub-account on the Citrex Protocol, quantity returned is in wei. Returns an array of balances with details including wallet address, asset type, available quantity, and any pending withdrawals.";
}
async _call() {
return this.seiKit.citrexListBalances();
}
}
exports.SeiCitrexListBalancesTool = SeiCitrexListBalancesTool;
//# sourceMappingURL=listBalances.js.map