wait_for_trade
Poll trade status by requestId until filled, failed, not found, or pending at timeout; returns outcome without resubmitting.
Instructions
Follow a buy_token / sell_token requestId to its result by polling /v1/trade-status. outcome: filled, failed, not_found (expired id) or pending (still running at the timeout: never resubmit).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes | requestId returned by buy_token or sell_token | |
| timeoutSec | No | Max seconds to wait, default 120 |