start_stream
Initiate payment streams for verified human tasks by verifying on-chain Superfluid flows or creating micro-transfers. Supports USDC on L2 networks like Base, Arbitrum, and Polygon.
Instructions
Start a stream payment for an ACCEPTED stream job. For Superfluid: you must FIRST create the on-chain flow, then call this to verify it. Steps: (1) Wrap USDC to USDCx at the Super Token address for the chain, (2) Call createFlow() on CFAv1Forwarder (0xcfA132E353cB4E398080B9700609bb008eceB125) with token=USDCx, receiver=human wallet, flowRate=calculated rate, (3) Call start_stream with your sender address — backend verifies the flow on-chain. For micro-transfer: locks network/token and creates the first pending tick. Prefer L2s (Base, Arbitrum, Polygon) for lower gas costs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job ID | |
| agent_key | Yes | Your agent API key (starts with hp_) | |
| sender_address | Yes | Your wallet address that created the flow (Superfluid) or will send payments (micro-transfer) | |
| network | Yes | Blockchain network (e.g., "base", "polygon", "arbitrum") | |
| token | No | Token symbol (default: "USDC") |