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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain_id": "<chain_id>",
"etf_token_address": "<etf_token_address>",
"input_token_address": "<input_token_address>",
"input_amount": "<input_amount>"
},
"name": "buy_etf_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | Yes | ||
| etf_token_address | Yes | ||
| input_token_address | Yes | ||
| input_amount | Yes | ||
| slippage | No |