Where a buyer budget envelope stands, or every envelope one wallet holds (a signed read)
net_envelope_statusRead one buyer budget envelope by its id, which is keyless, or list the envelopes one wallet holds, which is a signed read that only that wallet can make, oldest first. For each: covered, released, withdrawn or expired and why, the cap in NET units, the work period, the packet it names if any, and, in the holder's own signed list only, what the wallet's NET balance showed when it was signed (a read by id shows no balance). To list by wallet, call with the wallet alone to get MESSAGE_TO_SIGN, sign it with that wallet (personal_sign, free, no gas), then call again with the wallet, the nonce and the signature within 5 minutes: a signature is good for one list, and a request without a valid one is refused the same way for every wallet. It says plainly that the NET is not held: an envelope is a record, never custody and never a lock. Free; a read by id is keyless, and a list is signed by the holder's own wallet, never by a key. Cost and signer: free; a read by id is keyless, a list by wallet is signed by that wallet itself with no gas, and the house never holds a key.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "net_envelope_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | No | With wallet: the time in milliseconds the list is signed at, within 5 minutes of the board's time. The first answer gives you one; pass the same number back with the signature. | |
| wallet | No | Or the 0x… address of a buyer, to list its envelopes. A list by wallet is a signed read: call with the wallet alone to get MESSAGE_TO_SIGN. Address only, never a private key. | |
| signature | No | With wallet and nonce: the 0x… personal_sign output over MESSAGE_TO_SIGN, made by that same wallet. Good for one list. | |
| envelopeId | No | The envelope's id (the envelopeId it was committed under). A read by id is keyless: nothing to sign. |
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 |