Skip to main content
Glama

VaultBags

get_liquidity

The liquidity this protocol has built into its own pool, and whether any of it can be taken back out. Answers the question behind 'can they rug this': lock.allLocked is read from the pool position itself, not inferred from a record, and is true only when the position reports zero unlocked liquidity, meaning nobody can withdraw any of it including the protocol itself. Serves two different money figures that must not be confused: builtIntoLiquidity is a cost basis, each deposit priced at the hour it happened, which does not move with the market; positionNow is what that same liquidity represents at current prices, which does, and in a pool the two sides drift apart from what went in. feesCompounded is what the locked position earned from trades and had put straight back in, which is separate from the protocol fees that fund the deposits. The record is rebuilt from one public wallet: each refresh walks that wallet's full transaction list on Solana, a finalized transaction is kept once it has been read, and every total is recomputed rather than stored, so all of it can be recomputed from Solana. readAt, positionReadAt and positionNow.pricedAt state when the record, the position and the prices were read; quote them with the figures. Individual deposits are not returned; the full record is served at the URL given in the response. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources