Skip to main content
Glama

buy_etf_token

Simulate buying ETF tokens with specified input tokens across multiple EVM chains. Get transaction details including slippage tolerance without executing actual trades.

Instructions

Buy ETF tokens using input tokens (simulation only - no actual transaction).

Args: chain_id: Chain ID (1, 10, 56, 100, 137, 8453, 42161) etf_token_address: Address of the ETF token to buy input_token_address: Address of token to spend (use 'native' for ETH/BNB/MATIC/xDAI) input_amount: Amount of input token to spend (in token units, e.g. '1.5') slippage: Slippage tolerance as percentage (default: 2.0) Returns: JSON string with transaction simulation details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chain_idYes
etf_token_addressYes
input_token_addressYes
input_amountYes
slippageNo

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/VolumeFi/mcpPADEX'

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