Overview
Yield is distributed periodically via the on-chainYieldDistributor contract. For each period, the operator publishes a merkle root that commits to every holder’s allocation; holders then submit a merkle proof to claim() and receive their funds directly. The Camino API serves the off-chain data callers need to construct that claim.
GET /v1/yield/{address} returns the holder’s claims as a flat data list. Each entry is self-contained — it carries its own chainId and distributor address — so it can be passed directly into the corresponding contract’s claim(). Entries are sorted by periodId ascending. Each entry carries a status:
unclaimed— the holder can currently claim this one (finalized and within the claim window).claimed— the holder has already pulled this one on-chain.
Look up a holder
Entry shape
| Field | Type | Description |
|---|---|---|
chainId | integer | Chain this period lives on. |
distributor | string | YieldDistributor contract address on chainId. |
periodId | string | Period ID on the distributor (uint as string). |
status | "claimed" | "unclaimed" | Whether the on-chain isClaimed flag is set. |
root | string | Merkle root committed on-chain for this period. |
index | integer | Leaf index in the period’s merkle tree. |
account | string | Recipient address — claim() always transfers here. |
amount | string | Raw claim amount (use the token’s decimals to format). |
proof | string[] | Merkle proof for the leaf. |
claim(periodId, index, account, amount, proof) on the distributor address (on chainId) with the fields from an unclaimed entry.
Period artifact (verification)
GET /v1/yield/artifacts?periodId=N returns the full artifact (root, every leaf, every proof, totals) for a published period. Anyone can fetch this and independently verify what’s committed on-chain.
Artifacts for finalized periods are immutable — once a period is published, its root, leaves, and proofs never change.
Next Steps
Deposit and Start Earning
Deposit stablecoins into C0 to begin accruing yield
Wallets
Create and manage wallets, track token balances