Query the on-chain escrow state for a task (Fase 2 mode only).
Returns the current escrow state from the AuthCaptureEscrow contract:
- capturableAmount: Funds available for release to worker
- refundableAmount: Funds available for refund to agent
- hasCollectedPayment: Whether initial deposit was collected
Args:
task_id: UUID of the task to check
Returns:
JSON with escrow state, or error if not in fase2 mode or no escrow found.
Connector