UNPKG

sei-agent-kit

Version:

A package for building AI agents on the SEI blockchain

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