Skip to main content
Glama

buy_etf_token

Simulate ETF token purchases using specified input tokens across multiple EVM chains to preview transaction outcomes before execution.

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

NameRequiredDescriptionDefault
chain_idYes
etf_token_addressYes
input_token_addressYes
input_amountYes
slippageNo

Input Schema (JSON Schema)

{ "properties": { "chain_id": { "title": "Chain Id", "type": "string" }, "etf_token_address": { "title": "Etf Token Address", "type": "string" }, "input_amount": { "title": "Input Amount", "type": "string" }, "input_token_address": { "title": "Input Token Address", "type": "string" }, "slippage": { "default": 2, "title": "Slippage", "type": "number" } }, "required": [ "chain_id", "etf_token_address", "input_token_address", "input_amount" ], "type": "object" }

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