purchase_usage_credits
Redeem a CONFIRMED on-chain charge for prepaid AI usage credits. Provide the transactionHash of a completed transfer you (the user) sent to the Moneda treasury tagged as a usage-credit purchase. The amount is read from the verified on-chain charge — never from input — converted to USD budget with the standard markup, and granted exactly once (idempotent on the hash, so re-calling is safe).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"transactionHash": "<transactionHash>"
},
"name": "purchase_usage_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transactionHash | Yes | Hash of the confirmed on-chain charge to the Moneda treasury (from get_transactions). |