Skip to main content
Glama

solana_getswapsbytokenaddress

Query all swap transactions (buy, sell) for a specific Solana token address by network, date range, or transaction type. Useful for tracking token activity and analyzing trade history.

Instructions

Get all swap related transactions (buy, sell) for a specific token address.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesThe address to query
cursorNoThe cursor to the next page
fromDateNoThe starting date (format in seconds or datestring accepted by momentjs)
limitNoThe limit per page
networkYesThe network to query
orderNoThe order of the results, in ascending (ASC) or descending (DESC).DESC
toDateNoThe ending date (format in seconds or datestring accepted by momentjs)
transactionTypesNoTransaction types to fetch. Possible values: 'buy','sell' or both separated by commabuy,sell

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/MoralisWeb3/moralis-mcp-server'

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