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
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | Yes | ||
| etf_token_address | Yes | ||
| input_token_address | Yes | ||
| input_amount | Yes | ||
| slippage | No |