Skip to main content

Overview

The Monitoring API (https://kapi.cashmere.exchange) exposes unauthenticated endpoints backed by the relayer’s PostgreSQL replicas. Use them to power dashboards, points trackers, and internal monitoring in production.

/transactionsmainnet

Production transaction feed with cursor pagination.
All numeric amounts use the bridge asset’s base unit (USDC = 6 decimals). destination_tx_status values: pending, success, or failed.

/users/leaderboard


/users

Two query patterns are active in production:
  1. GET /users?wallets=0xabc_evm,So111_solana – wallet-level points and multipliers.
  2. GET /users?domains=username.csm – domain aggregates and per-chain breakdowns.

Wallet query

Domain query

All payloads retain snake_case keys.

/users/messages

One-time message nonce for wallet binding flows. Call this endpoint immediately before POST /users/verify.
Sign the canonical message the frontend displays (Please sign this message… nonce: <nonce>).

POST /users/verify

Bind or unbind a wallet to a Cashmere username. The backend expects a signed message proving wallet control.
  • chain_type accepts evm, solana, sui, or aptos.
  • type is either bind or unbind.
  • public_key is only required for Aptos bindings.
  • message must exactly match the prompt used for signing (including newline + nonce).
  • Always fetch a fresh nonce via GET /users/messages before submitting this request.

/stats/mainnet/volumes

Provides transfer volumes. Raw amounts (without _usd) are returned as 6-decimal USDC integers.
  • GET /stats/mainnet/volumes – cumulative lifetime volume (total_volume).
  • GET /stats/mainnet/volumes?senders=0xabc...,So111... – cumulative volume for specific wallets (user_volume).
  • GET /stats/mainnet/volumes/hourly?limit=24 – last N hourly buckets (total_volume_usd floats).
  • GET /stats/mainnet/volumes/daily?limit=30 – last N daily buckets (total_volume_usd floats).

/stats/mainnet/fees

Returns relayer fee totals in USD.
  • periodhourly (default) or daily.
  • limit – number of buckets to return.

/stats/mainnet/transactions

Returns the total number of transactions processed by Cashmere relayers.

/stats/mainnet/chain-shares

Breaks down volume share per Circle domain (see CCTP domain ID table for mappings).
Divide amount by total_amount to derive the percentage for each domain.

/stats/mainnet/wallets

Distinct sender count on mainnet (cached in Redis).

/stats/wallets

Distinct sender count on devnet/testnet (cached).

Caching & Rate Limits

  • Several endpoints (/stats/mainnet/volumes, /stats/mainnet/fees, /stats/mainnet/wallets, /stats/wallets) cache responses in Redis for short TTLs.
  • No formal rate limit headers are emitted; stay below ~120 requests per minute or contact the team for higher throughput.
These APIs are read-only. All write operations (transfers, approvals, configuration) occur on-chain.