pretrade_context
Refresh wallet, allowance, gas, price, 24h statistics and top-of-book context immediately before each automated trade or payment. Costs $0.01 USDC on Base via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| network | No | ||
| spender | Yes | ||
| product_id | Yes | ||
| balance_tokens | No | ||
| token_contract | Yes |