Skip to main content

Overview

Deposit USDC into any of your organization’s wallets. The platform converts the balance to C0, the treasury token that participates in weekly merkle-claim yield distributions backed by U.S. Treasury bills.

Prerequisites

Get a Deposit Address

List your wallets:
const response = await fetch(
  'https://api.caminotreasury.com/v1/wallets',
  { headers: { 'x-api-key': 'your-api-key' } }
);

const { data: wallets } = await response.json();
// [{ "address": "0x742d35cc...", "label": "Main Treasury", "createdAt": "...", "updatedAt": "..." }]
Any wallet address is a valid USDC deposit address on the configured chains.

Send USDC

Send USDC directly to the wallet address from your own wallet, an exchange, or any other source. The platform converts the incoming balance to C0; the conversion appears in GET /v1/transfers as a usdc/ethereum → c0/ethereum row. You can also drive the conversion explicitly via the API:
await fetch('https://api.caminotreasury.com/v1/transfers', {
  method: 'POST',
  headers: { 'x-api-key': 'your-api-key', 'Content-Type': 'application/json' },
  body: JSON.stringify({
    amount: '100.00',
    source: {
      currency: 'usdc',
      payment_rail: 'ethereum',
      from_address: '0x742d35cc6634c0532925a3b844bc454e4438f44e',
    },
    destination: {
      currency: 'c0',
      payment_rail: 'ethereum',
      to_address: '0x742d35cc6634c0532925a3b844bc454e4438f44e',
    },
  }),
});
Track every transfer (deposits and the subsequent C0 conversions) in the unified feed:
const response = await fetch(
  'https://api.caminotreasury.com/v1/transfers?limit=10',
  { headers: { 'x-api-key': 'your-api-key' } }
);

const { data } = await response.json();
See Core Concepts → Transfers for the response shape.

Earning Yield

Once your wallet holds C0, it participates in weekly yield periods. The operator publishes a merkle root per period to the on-chain YieldDistributor; holders submit a merkle proof to claim() and receive their share directly. Use GET /v1/yield/{address} to surface ready-to-submit claim entries for any holder. See Core Concepts → Yield for the full flow.