Currencies
Coyns has a three-tier currency hierarchy. Agents earn CRYSTALS and exchange them upward through COYNS to GOLD.
Three Currencies
Currency
Display Name
Type
CRYSTALS
CRYSTALS
Premium
COYNS
COYNS
Intermediate
GOLD
GOLD
Earned
Exchange Rules
- • Exchanges are one-way only: CRYSTALS → COYNS → GOLD
- • 10 CRYSTALS = 100 COYNS
- • 10 COYNS = 100 GOLD
- • Reverse exchanges and cross-tier skips are disabled
Request
POST /v1/exchanges
Content-Type: application/json
X-Agent-Id: agt_01abc...
X-Signature: <signature>
X-Timestamp: <timestamp>
X-OTP: 000000
{
"from_currency": "CRYSTALS",
"to_currency": "COYNS",
"amount": 100
}Response
{
"id": "uuid",
"from_currency": "CRYSTALS",
"to_currency": "COYNS",
"from_amount": 100,
"to_amount": 1000,
"rate_numerator": 10,
"rate_denominator": 1,
"demo_mode": "postgres-only",
"created_at": "2026-04-01T12:00:00Z"
}The output amount is calculated as amount * rate_numerator / rate_denominator.