Record one step of a NET purchase from surplus the operator states (step 1 of 2)
prepare_net_recycleRECYCLE PAPERWORK for the operator: the record around a purchase of NET from surplus the operator states; no dollar is checked here. Four programs share it (optional-service-recycle, commercial-margin-recycle, donor-directed-acquisition, license-fee-recycle). You name one act: open (the surplus evidence), quote (an executable counterparty quote for the WHOLE size, never the house reference rate), publish (make the plan PUBLIC for one quote before it is authorized: its hash, its exact terms and the exact authorization sentence, readable with no wallet at net_recycle_status; the terms show no wallet), authorize (EXACTLY the dollars that quote costs, never more than the surplus, and it expires; it is refused unless the plan was published first and it names the published plan hash and carries the exact sentence the public record serves), acted (what the operator reports he did himself), close (where it was applied), revoke (an authorization nothing was done under) or withdraw (evidence nothing was done under). FREE, a signed statement, no fee, no gas. THIS RECORDS ONLY: it never buys, sells, swaps, signs or sends, reads no key and touches no wallet; the purchase, if one is made, is the operator's own act, and the record is house activity, never outside demand. Only a wallet the operator listed as an approver can sign it, and with no wallet listed nothing can be recorded or authorized. Built but not switched on until the operator switches the NET programs on together: until then every act that records is refused before you sign, while revoke, withdraw and reads still work. Amounts are whole cents; NET is in whole units (1 NET is 1,000,000 units). Never put a phone number, an email, a street address or a word about tax treatment in any field. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with the approver wallet's personal_sign, then call submit_net_recycle 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>",
"planId": "<planId>"
},
"name": "prepare_net_recycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| act | Yes | The one step to record. | |
| units | No | quote: the WHOLE size in NET units (1 NET is 1,000,000 units). | |
| venue | No | acted: where it was bought, plain words. | |
| planId | Yes | The plan's id: 1 to 80 letters, numbers and . _ : -. You choose it at open; the same id and terms read it back. | |
| reason | No | revoke or withdraw: optional, one plain sentence, up to 280 characters. | |
| source | No | open: where the money came from, plain words, 8 to 300 characters. Never shown on a keyless read. | |
| txHash | No | acted: the Base transaction hash (0x and 64 hex). Recorded as reported; this server does not check the chain. | |
| actedAt | No | acted: when the operator made the purchase (an ISO time, while an authorization stood). | |
| attests | No | open: each statement set to true. optional-service-recycle: receiptsVerified. commercial-margin-recycle: wagesPaid, vendorsPaid, taxesPaid. donor-directed-acquisition: inHand. license-fee-recycle: licenseDelivered, paymentCollected. | |
| figures | No | open: whole cents by name. optional-service-recycle: receiptsCents, operatingCostsCents, obligationsCents. commercial-margin-recycle: revenueCents, wagesCents, vendorPayCents, taxesCents, otherCostsCents. donor-directed-acquisition: receivedCents. license-fee-recycle: collectedCents, expensesCents. | |
| program | No | open: which program's evidence this is. | |
| quoteId | No | quote: your id for this quote. publish and authorize: the quote it names. | |
| planHash | No | authorize: the plan hash the public record served for this quote (64 lowercase hex). Read it at net_recycle_status. | |
| appliedTo | No | close: where it was applied, plain words, 8 to 300 characters. | |
| expiresAt | No | An ISO time. quote: when it stops standing, within 168 hours. publish: the latest the authorization could end. authorize: when it ends: in the future, no later than the quote, within 72 hours, no later than the published time. | |
| principal | Yes | The 0x address that signs: an approver wallet the operator listed. Address only, never a private key. | |
| reference | No | open: where the proof sits (a ledger line or receipt number), one token, no spaces. One surplus backs one plan, ever. | |
| mandateFor | No | open, donor-directed-acquisition only: the work program the donor's own mandate names, plain words. | |
| sourceKind | No | quote: whose quote it is, in the operator's own words. otc_seller_signed is only a name for an outside seller's quote: the seller signs nothing here and nothing here checks the quote, whatever the name says. The house reference rate is none of these: it is not a seller. | |
| spentCents | No | acted: whole cents spent; no more than authorized. | |
| amountCents | No | open: whole cents made available for a NET purchase, never more than the surplus the figures reconcile to. authorize: EXACTLY the named quote's cost for the whole size, in whole cents. | |
| slippageBps | No | quote: its stated slippage in basis points, at most 100. | |
| counterparty | No | quote: who made it, plain words (a desk, a seller, a venue). | |
| acquiredUnits | No | acted: whole NET units acquired; at least the quote's whole size. | |
| availableUnits | No | quote: units the counterparty says it can fill; under the whole size is a partial fill and is refused. | |
| priceUsdPerNet | No | quote: dollars for one whole NET. | |
| counterpartyWallet | No | quote: optional 0x address behind the quote. A house wallet is never a counterparty. | |
| authorizationSentence | No | authorize: the exact sentence the public record served, word for word. Read it at net_recycle_status. |
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 |