database schema
Users Collection
{
"_id",
"walletAddress",
"createdAt",
"updatedAt",
"totalPrompts",
"totalSpent",
"isBlocked"
}Prompts Collection
{
"_id",
"userId",
"promptText",
"modelUsed",
"inputTokens",
"outputTokens",
"computeUnits",
"cost",
"status",
"createdAt"
}UsageReceipts Collection
Settlements Collection
Was this helpful?