loot_buy
Buy LOOT tokens with ETH through a router, using a pre-trade quote and adjustable slippage tolerance.
Instructions
Buy a LOOT token with ETH through the deployed router. Quotes the exact trade first via eth_call and demands the quote minus slippage_bps (default 200). Fixed 5,000,000 gas, never estimated. Needs LOOT_AGENT_PRIVATE_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| eth_in | Yes | ETH to spend, decimal string, e.g. "0.05" | |
| slippage_bps | No | ||
| deadline_seconds | No |