Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
getRebalanceInfo(isCrossChain?: boolean): Promise<RebalanceInfoResponse>
isCrossChain
boolean
interface RebalanceInfoResponse { success: boolean; data: RebalanceInfo[]; count: number; }
// Get same-chain rebalances const rebalances = await sdk.getRebalanceInfo(false); console.log("Rebalance count:", rebalances.count); rebalances.data.forEach(r => { console.log(`${r.fromProtocol} -> ${r.toProtocol}: ${r.amount}`); });