Investment API

// Example Investment API Call
POST /api/invest
{
  "userId": "0x123...",
  "amount": 1000,
  "allocation": {
    "greenTranche": 0.4,
    "blueTranche": 0.4,
    "growthTranche": 0.2
  }
}

// Response
{
  "transactionId": "txn_123456",
  "status": "processing",
  "estimatedCompletion": "2025-05-18T14:30:00Z"
}

Last updated