Opt in to the inference allowance, allocate part, record a call or close it (step 1 of 2)
prepare_net_vvvAGENT INFERENCE ALLOWANCE (VVV): opt in with your own NET and an allowance you set, and get inference at Venice from your own wallet. You name some of your NET, set an allowance in USDC base units (a hard cap on what this program records and allocates; nothing in VVV spends), pin the payee you pay (opt_in), allocate part of the allowance (allocate), record each call you signed (receipt), or end it (close). FREE, a signed statement, no fee, no gas, and your NET never moves. An opt-in is a record, never custody and never a lock: your NET stays in your own wallet, Vealth holds no VVV, DIEM or USDC, signs nothing for you, pays no one and is never the payee. You pay Venice yourself, from your own wallet. The door checks the NET against your wallet's fresh balance less everything it already stands behind, and refuses if it does not cover. The allowance is a hard cap on what this program records and allocates: a setting that is empty, negative, fractional, text or above 25000000 is refused, and so is an allocation, or a receipt for a call, that would pass it. The program refuses to record or allocate past the cap; it does not stop a spend, because nothing in this program can spend (you pay Venice yourself, from your own wallet). A call counts for the amount you signed, whether or not it went through, and one that threw after signing still counts. A call with no payment reference is not recorded. The program is built but not switched on until the operator switches the NET programs on together: until then an opt-in and an allocation are refused before you sign, while a receipt, a close and the reads still work. The routes (NET to USDC from your wallet, where the buying in NET's pools is the house's own; Venice pay per call; and VVV or DIEM held in your wallet) are prepared steps, read them with net_vvv_status. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with the agent wallet's personal_sign, then call submit_net_vvv within 5 minutes. Cost and signer: free, no gas; the person signs the result with their own wallet or passkey, and the house never holds a key.
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": {
"act": "<act>",
"principal": "<principal>",
"optInId": "<optInId>"
},
"name": "prepare_net_vvv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| act | Yes | opt_in to name your NET and set the cap and the payee; allocate part of the allowance to a route; receipt a call you signed; close the opt-in. | |
| payee | No | opt_in and receipt: the 0x… address you pin as the only payee your calls may name: the one Venice publishes, which you read yourself. No default; never a house wallet. | |
| route | No | allocate: the route. Only venice_x402_usdc counts calls; the other routes are prepared steps, read them with net_vvv_status. | |
| units | No | allocate: whole inference units to allocate, at least 1. It cannot take the allocations past the allowance. | |
| reason | No | close: optional, one plain sentence, up to 280 characters. | |
| optInId | Yes | The opt-in's id: 1 to 80 letters, numbers and . _ : - , never a wallet address. You choose it when you opt in; the same id and the same terms read the opt-in back. | |
| settled | No | receipt: true when Venice answered with a success. Kept for your books; it never changes what counts. | |
| netUnits | No | opt_in: whole NET units you name, at least 1 (1 NET is 1,000,000 units). Checked against your wallet, never held. | |
| expiresAt | No | opt_in: the day it lapses, an ISO time between 1 and 90 days from now. | |
| principal | Yes | The 0x… address that signs: the agent's own wallet. Address only, never a private key. | |
| receiptId | No | receipt: the call's id, which you choose. | |
| paymentRef | No | receipt: the payment reference of the call you signed, 0x and 64 hex digits. Required: no reference, no record. | |
| signedUnits | No | receipt: the amount you signed for this call, a whole number of USDC base units. It counts even if the call did not settle. | |
| allocationId | No | allocate and receipt: the allocation's id, which you choose when you allocate and name again on each call. | |
| allowanceUnits | No | opt_in: the most inference you allow yourself, a whole number of USDC base units (one millionth of a dollar), from 1 to 25000000. A hard cap on what this program records and allocates: it refuses to record or allocate past it, and nothing in VVV spends. | |
| threwAfterSigning | No | receipt: true when the call threw after you signed. Kept for your books; it never changes what counts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| tool | No | ||
| funded | No | ||
| payUsd | No | ||
| workId | No | ||
| claimId | No | ||
| claimable | No | ||
| next_call | No | ||
| proofRule | No | ||
| fulfillableBy | No | ||
| definitionOfDone | No | ||
| needs_from_caller | No | ||
| notClaimableReason | No |