Skip to main content
Glama

get-twap

Calculate Time-Weighted Average Price (TWAP) for a specific pool on Osmosis by providing pool ID, asset denominations, and start time.

Instructions

Returns Time-Weighted Average Price for a pool

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseAssetYesBase asset denomination
endTimeNoOptional: End time (RFC3339 format, defaults to now)
poolIdYesThe pool ID
quoteAssetYesQuote asset denomination
startTimeYesStart time (RFC3339 format)

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MyronKoch-dev/osmosis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server