Commit or withdraw a sponsor's matching offer (step 1 of 2)
prepare_net_matchMATCHING OFFER: a sponsor signs a capped offer to match outside funding for accepted work, sees it, or revokes what is left of it. Four programs share this one tool, named by program: sponsor-funded-match (match an outside funder's NET for work a person accepted on the board), district-matching-budget (match NET from different payer wallets for upkeep of a place inside a district; no packet there is matched until a listed person who is not you has confirmed the place, public ground included, and no door lets anyone confirm a district offer's place yet, so a district offer matches nothing until that door is built; a wallet the journal links to an earlier payer counts as the same payer, and one person using wallets nobody has linked is not seen), grant-milestone-match (a capped offer toward one milestone packet, with the grant's name and spending rules in your own words: nothing here checks that the grant was awarded or judges its rules), and agent-research-tournament, shown to people as a research solution match (a capped offer that matches funding toward solutions to a question, each accepted by a person, with a cap per solution; nothing is pooled; nothing is ranked or judged and nothing is paid by chance). You say, in plain words, what you are matching for, the ratio (for every 100 units of outside funding you match this many), your cap in whole NET units and when the offer lapses (commit), or you revoke the unapplied remainder (withdraw). FREE, a signed statement, no fee, no gas, and your NET never moves. An offer is a record, never custody and never a lock: your NET stays in your own wallet, nothing is held or sent, you pay the worker directly, Vealth pays, holds and sells nothing, and you can withdraw at any time, even when new program actions are stopped. When you commit, the door checks the cap against your wallet's fresh NET balance less everything it already stands behind (your offers, orders, reserves, bonds, envelopes, seats and other matching offers), and refuses if it does not cover; nothing is recorded then. A match is recorded only from what the board itself shows (funding from an outside party that already arrived, and work a person with no known link to anyone involved accepted), never on your say-so; a packet draws one match across every offer; and the engine can record a reversal of a match applied to funding later shown to be the sponsor's own, but nothing runs it yet. A match is not an outcome. One NET is 1,000,000 units. Never put a phone number, an email or a street address in any field. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with the sponsor wallet's personal_sign, then call submit_net_match 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>",
"matchId": "<matchId>"
},
"name": "prepare_net_match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| act | Yes | commit a new offer, or withdraw one you hold. | |
| grant | No | commit, grant-milestone-match only: { name, restrictions (what the grant and the recipient's spending rules allow), milestone (the measurable milestone), reference (optional award reference) }. | |
| units | No | commit: your cap in whole NET units, at least 1: the most this offer matches in all (one NET is 1,000,000 units). | |
| reason | No | withdraw: optional, one plain sentence, up to 280 characters. | |
| workId | No | commit: the id of a packet on the board this offer is for. Required for grant-milestone-match; optional otherwise. | |
| matchId | Yes | The offer's id: 1 to 80 letters, numbers and . _ : -. You choose it when you commit; the same id and the same terms read the offer back. | |
| program | No | commit: which matching program this offer is. | |
| purpose | No | commit: what you are matching for, in plain words, 8 to 300 characters. No phone number, email or street address. | |
| district | No | commit, district-matching-budget only: { place: { name, lat, lng }, radiusM (100 to 2000, default 500), siteAuthority: { kind: owner | manager | association | public_ground, evidenceRef } }. The kind of place is your own word: no packet is matched until a listed verifier who is not you confirms the place, public ground included. No door lets a verifier do that for a district offer yet, so a district offer matches nothing until one is built. A private place also needs an evidenceRef. | |
| expiresAt | No | commit: when the offer lapses, an ISO time in the future, at most 365 days from now. | |
| principal | Yes | The 0x… address that signs: the sponsor's wallet. Address only, never a private key. | |
| tournament | No | commit, agent-research-tournament only: { question (what the solutions answer), solutionCapUnits (the most one accepted solution may draw from the offer) }. | |
| ratioPercent | No | commit: for every 100 units of outside funding you match this many (whole percent, 1 to 400; 100 is one for one). |
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 |