Create private channel
Build stealth channel metadata and publish announcement-linked channel ids.
Discover channels
Scan existing announcements for channel-specific discoveries.
Read config
Inspect Yellow ws/contract config exposed by backend.
Endpoint list
POST /api/v1/yellow/channel/createPOST /api/v1/yellow/channel/discoverPOST /api/v1/yellow/channel/fundPOST /api/v1/yellow/channel/closeGET /api/v1/yellow/channel/:id/statusPOST /api/v1/yellow/transferGET /api/v1/yellow/config
Integration path
Endpoint schemas
POST /api/v1/yellow/channel/create
POST /api/v1/yellow/channel/create
Recipient ENS name ending in
.eth or a hex meta-address string.Token identifier string (currently logged but not enforced in backend channel state).
Initial funding amount as string.
Optional 32-byte channel id hex. If omitted, backend generates random id.
Response channel id.
Recipient stealth EVM address.
Synthetic hash-like value derived in handler.
POST /api/v1/yellow/channel/discover
POST /api/v1/yellow/channel/discover
POST /api/v1/yellow/channel/fund
POST /api/v1/yellow/channel/fund
POST /api/v1/yellow/channel/close
POST /api/v1/yellow/channel/close
GET /api/v1/yellow/channel/:id/status
GET /api/v1/yellow/channel/:id/status
Channel id path parameter.
Channel id echoed in response.
open when announcement exists, otherwise unknown.Current balance entries.
Participants list (empty in current implementation).
Timestamp from matching announcement or
0.Static state version (
1 currently).POST /api/v1/yellow/transfer
POST /api/v1/yellow/transfer
GET /api/v1/yellow/config
GET /api/v1/yellow/config
Yellow websocket endpoint.
Configured custody contract address.
Configured adjudicator contract address.
Configured chain id.
Hardcoded token metadata list (currently USDC and ETH entries).
Example calls
- Create channel
- Discover channels
- Read config
Implementation caveats
Placeholder transaction fields
Placeholder transaction fields
Fund and close handlers return placeholder tx-like values. Close also marks
tx_hash_is_placeholder: true.Token handling simplification
Token handling simplification
Discovery/status responses currently use simplified token behavior and do not represent full custody settlement logic.
No backend L1 close submission
No backend L1 close submission
Close handler does not submit an L1 transaction; settlement is expected from Yellow Network processing outside this backend.
