agent-pretrade-context
Pre-trade context bundle for autonomous crypto agents: wallet balance, allowance, gas, realtime price, 24h statistics and best bid/ask. Call immediately before every automated trade, swap or payment and refresh again before the next execution. Data only. 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 |