This proposal extends ERC-8004’s Validation Registry by defining a standard contract interface, IValidationNetwork, that allows a validatorAddress to be a network of independent validators rather than a single party. A conforming network selects validators according to a caller-supplied policy, collects signed attestations from the selected set, and submits a single aggregated response back through the existing Validation Registry. The extension introduces operator-diversity as a first-class policy parameter and standardizes the attestation envelope so that responses from any conforming network can be verified by any client using the same code.
The proposal is strictly additive. The Validation Registry contract is not modified, single-address validators continue to work unchanged, and any sufficiently decentralized network — permissionless remote procedure call (RPC) networks, restaking-based Actively Validated Services (AVSs), trusted execution environment (TEE) consortia, decentralized oracle networks — can implement the interface.
Motivation
ERC-8004’s Validation Registry is intentionally unopinionated about who validates. Its validationRequest(validatorAddress, agentId, requestURI, requestHash) accepts any address; the spec leaves “incentives and slashing related to validation … outside the scope of this registry.”
This is a deliberate design choice and a correct one. It leaves room for many validator implementations to compete on the merits.
In practice, three patterns have emerged:
Single-validator addresses — operationally simple, but reintroduce the centralized-trust assumption that ERC-8004 was designed to relax.
TEE-based attesters — strong cryptographic guarantees, but with a hardware-trust dependency and a limited set of qualifying operators.
Bespoke threshold schemes — each implementer rolls a custom multi-validator setup with its own selection rules, attestation format, and verification path. Clients integrating with multiple networks must write per-network verification code.
The third pattern is where the gap lives. There is no shared interface that lets a client say “I want a validation, run by N independent validators, drawn from at least D distinct operators, with a deadline of T seconds, and give me back a verifiable bundle of their signed attestations.” Every team that wants this property is building it from scratch.
This proposal defines that interface. It does not prescribe a selection algorithm, an incentive model, a slashing model, or a network topology. It standardizes the contract surface that lets clients request multi-validator validation in a portable way and verify the result without per-network glue code.
Specification
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “NOT RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119 and RFC 8174.
Overview
A validation network is a smart contract deployed at an address that conforms to IValidationNetwork. From the perspective of ERC-8004’s Validation Registry, this address is the validatorAddress passed to validationRequest. Internally, the contract performs validator selection, accepts off-chain attestations from selected validators, and writes back to the Validation Registry via validationResponse with an aggregated result.
The extension adds three things on top of ERC-8004:
A contract interface (IValidationNetwork) that networks implement.
A policy schema (SelectionPolicy) that callers pass to express assurance requirements.
An attestation envelope (Attestation) signed by individual validators and aggregated into the response.
Definitions
This specification uses three distinct identity layers:
Validation network — the smart contract address used as the ERC-8004 validatorAddress. This address exposes IValidationNetwork, accepts submit() calls, selects validators, and writes the aggregated response back to the Validation Registry.
Validator — an individual signing key or address selected by a validation network for a specific request. Validators produce the EIP-712 attestations included in the aggregated response.
Operator — the entity that controls one or more validators. Operator identity is used to evaluate minOperators and other diversity claims; a network’s published operator-identification methodology defines how validator keys are clustered into operators.
A single operator MAY control multiple validators, and a single validation network MAY use validators controlled by many operators. Clients SHOULD NOT treat validator count as equivalent to operator count unless the network’s methodology justifies that mapping.
Contract Interface
// SPDX-License-Identifier: CC0-1.0
pragmasolidity^0.8.20;/// @notice Minimal view of ERC-8004's Validation Registry needed by IValidationNetwork.
interfaceIValidationRegistryView{functiongetValidationStatus(bytes32requestHash)externalviewreturns(addressvalidatorAddress,uint256agentId,uint8response,bytes32responseHash,stringmemorytag,uint256lastUpdate);}/// @notice ERC-165 standard interface detection.
interfaceIERC165{functionsupportsInterface(bytes4interfaceId)externalviewreturns(bool);}/// @dev A conforming network MUST implement ERC-165. supportsInterface(interfaceId)
/// MUST return true for both type(IERC165).interfaceId (0x01ffc9a7) and
/// type(IValidationNetwork).interfaceId, and MUST return false for 0xffffffff.
/// This is the canonical way for a client to detect that a given ERC-8004
/// validatorAddress is a Validation Network Interface (VNI) network before
/// submitting a request.
interfaceIValidationNetworkisIERC165{/// @notice Sentinel returned by quote() when pricing is settled out-of-band (e.g. via x402,
/// a payment flow built on the HTTP 402 Payment Required status code).
/// @dev A return of (OUT_OF_BAND_PRICE, etaSeconds) instructs the caller to obtain pricing
/// via the network's documented out-of-band channel. (0, 0) means free.
/// Any other finite value is a literal price in wei.
/// @dev MUST return type(uint256).max.
functionOUT_OF_BAND_PRICE()externalviewreturns(uint256);/// @notice The Validation Registry this network reads from and writes responses to.
/// @dev MUST return the address of the ERC-8004 Validation Registry contract that
/// this network is bound to. Set at construction; immutable for the lifetime of the contract.
functionvalidationRegistry()externalviewreturns(address);/// @notice Submit a validation request to this network.
/// @dev MUST be called after the corresponding validationRequest() has been submitted to
/// the ERC-8004 Validation Registry. Implementations MUST, before doing any work,
/// call IValidationRegistryView(validationRegistry()).getValidationStatus(requestHash)
/// and verify that the returned validatorAddress equals address(this). If it does
/// not, implementations MUST revert with NotAddressee(requestHash). This check
/// prevents griefing where a third party burns a network's resources on requests
/// addressed to a different validator. Callers SHOULD register validationRequest()
/// and call submit() in the same transaction or otherwise ensure submit() observes
/// the intended validatorAddress before the network begins work.
///
/// Implementations MUST revert with PolicyNotSupported for any policy they cannot
/// satisfy, and SHOULD reject duplicate submissions for the same requestHash
/// (revert with AlreadySubmitted).
/// @param requestHash The keccak256 commitment recorded in ERC-8004's Validation Registry.
/// @param policy application binary interface (ABI)-encoded SelectionPolicy. See policySchema().
/// @param payload Optional opaque payload (e.g. a challenge nonce). Network-defined.
functionsubmit(bytes32requestHash,bytescalldatapolicy,bytescalldatapayload)externalpayable;/// @notice Quote the price (in wei) and expected estimated time of arrival (ETA) (in seconds) for a given policy.
/// @dev Returns (0, 0) for free requests. Returns (OUT_OF_BAND_PRICE, etaSeconds) when
/// pricing is settled out-of-band (e.g. via x402). Any other finite priceWei is a
/// literal on-chain price. A generic client MUST treat OUT_OF_BAND_PRICE as a
/// signal to obtain pricing through the network's documented out-of-band channel
/// and not as a literal value.
functionquote(bytescalldatapolicy)externalviewreturns(uint256priceWei,uint32etaSeconds);/// @notice URI of the policy schema this network accepts.
/// @dev SHOULD return a stable URI resolving to a JSON schema document.
/// Networks implementing the canonical SelectionPolicy struct (this spec)
/// SHOULD return a URI that resolves to a document identical to the
/// canonical policy schema defined in the Selection Policy section.
functionpolicySchema()externalviewreturns(stringmemory);/// @notice Identifier for the network's aggregation and verification model.
/// @dev Returns a stable bytes32 profile identifier documented by the network.
/// Generic clients use this as an introspection signal for what they are
/// trusting: signature-only aggregation, indexer-attested selection,
/// light-client-backed selection, zero-knowledge (zk)/TEE-backed execution, or another
/// network-defined profile.
functionverificationProfile()externalviewreturns(bytes32);/// @notice Whether this network can serve a given policy.
/// @dev Networks MUST return false for policies whose minOperators exceeds the
/// network's distinct-operator capacity. Networks SHOULD return false for any
/// policy they would otherwise revert on at submit() time; supportsPolicy() is a
/// pure pre-flight check and SHOULD NOT be used for addressee verification.
functionsupportsPolicy(bytescalldatapolicy)externalviewreturns(bool);/// @notice Status of an in-flight or completed request.
/// @return state 0=unknown, 1=pending (accepted or validators selected), 2=responded, 3=failed
/// @return validatorCount Number of validators selected; 0 before selection.
/// @return responseAggregated Whether validationResponse() has been written to the Validation Registry.
/// MUST be true in states 2 (responded) and 3 (failed), since both are terminal
/// writes, and false in states 0 and 1.
functionstatus(bytes32requestHash)externalviewreturns(uint8state,uint16validatorCount,boolresponseAggregated);/// @notice Reverted by submit() when getValidationStatus(requestHash).validatorAddress != address(this).
errorNotAddressee(bytes32requestHash);/// @notice Reverted by submit() when called twice for the same requestHash.
errorAlreadySubmitted(bytes32requestHash);/// @notice Reverted by submit() when supportsPolicy(policy) would have returned false.
errorPolicyNotSupported(bytespolicy);/// @notice Emitted when a request is accepted into the network.
eventRequestAccepted(bytes32indexedrequestHash,bytespolicy,uint256priceWei);/// @notice Emitted when validators have been selected for a request.
eventValidatorsSelected(bytes32indexedrequestHash,address[]validators,bytes32selectionEntropy);/// @notice Emitted when individual attestations are aggregated and submitted to the Validation Registry.
eventAttestationsAggregated(bytes32indexedrequestHash,address[]validators,bytes32attestationsRoot,uint8aggregatedVerdict);}
Interface Detection
A conforming network MUST implement ERC-165. It MUST return true from supportsInterface(interfaceId) for both 0x01ffc9a7 (type(IERC165).interfaceId) and type(IValidationNetwork).interfaceId, MUST return false for 0xffffffff, and SHOULD answer in at most 30,000 gas.
A client determines whether a given ERC-8004 validatorAddress is a validation network by calling supportsInterface on that address. An address that returns false, or does not implement ERC-165, is not a validation network under this specification and MUST be treated as an opaque single-address validator.
Selection Policy
The canonical policy is ABI-encoded as the following struct. Networks MAY accept extended policies as long as their decode begins with these fields.
structSelectionPolicy{uint8version;// MUST be 1 for this revision
uint8selectionSize;// N: number of validators to select; MUST be >= 1
uint8minOperators;// D: minimum distinct operators across the selected set; MUST be >= 1 and <= N
uint8minResponses;// M: minimum attestations required for a valid aggregated response; MUST be >= 1 and <= N
uint64deadlineSeconds;// Wall-clock budget from submit() to aggregated response
uint8verdictMode;// 0=any-pass, 1=majority, 2=unanimous
bytes32challengeKind;// Network-defined kind tag (e.g. keccak256("rpc-equivalence"))
bytesextensions;// Network-specific opaque field; MUST decode to empty for canonical policies
}
Networks MUST treat any policy whose version they do not recognize as unsupported and supportsPolicy() MUST return false.
The canonical JSON schema for the logical decoding of SelectionPolicy is policy-v1.schema.json. It documents field semantics and the constraints expressible in JSON Schema; the cross-field constraints minOperators <= selectionSize and minResponses <= selectionSize are normative in this section even though JSON Schema cannot enforce them.
deadlineSeconds is measured against block.timestamp, from the block of the submit() transaction to the block of the terminal validationResponse. selectionSize, minOperators and minResponses MUST each be at least 1. A policy with any of them set to 0, or with minOperators > selectionSize or minResponses > selectionSize, is invalid: supportsPolicy() MUST return false and submit() MUST revert PolicyNotSupported.
Verification Profile
verificationProfile() identifies the aggregation and verification model a network uses for selected validators and returned attestations. The value is a stable bytes32 profile identifier documented by the network, not a registry entry created by this specification.
The profile tells relying parties what trust boundary remains after signature verification. Examples include signature-only aggregation, indexer-attested selection, light-client-backed selection, zk execution proof, TEE execution proof, or network-defined hybrids. supportsPolicy() remains the capability check for whether a specific policy can be served; verificationProfile() is the introspection surface for what verification model the client is relying on.
Networks MAY reuse a profile identifier already defined by another standard when it describes the same verification model. This lets the interface compose with external verification standards without enumerating every verification model here.
Validation Lifecycle
A request has two observable layers of lifecycle state: ERC-8004 registry state and validation-network-local state. The ERC-8004 Validation Registry is the canonical source for the final response, responseHash, tag, and lastUpdate. VNI events and status() provide additional observability for clients and indexers while the request is in flight.
A conforming network SHOULD expose the following lifecycle progression:
Unknown — the network has not accepted the requestHash.
Accepted — submit() has accepted the request and emitted RequestAccepted.
Validators selected — the network has selected validators and emitted ValidatorsSelected.
Responded — the network has aggregated enough attestations and called validationResponse() with tag = "vni:ok".
Failed terminal — the network has called validationResponse() with a non-vni:ok tag such as vni:timeout, vni:insufficient-operators, or vni:cancelled.
These stages map onto status() as follows: Unknown is state 0, Accepted and Validators selected are both state 1, Responded is state 2, and Failed terminal is state 3. validatorCount is 0 until validators are selected, so within state 1 it distinguishes Accepted (0) from Validators selected (N).
A conforming network MUST write at most one terminal validationResponse per requestHash. If more than one terminal response exists for a requestHash, clients and indexers MUST treat the first one (lowest lastUpdate) as canonical. Networks MAY retain or publish late attestations for auditability, but these do not change the canonical result.
Operator Diversity
minOperators is the central decentralization knob and MUST be enforced at selection time, not at response time. A network whose effective operator count is O and which receives a policy with minOperators > O MUST refuse the request via supportsPolicy() returning false rather than silently degrading.
A network that cannot satisfy minOperators for a policy MUST return false from supportsPolicy() and MUST revert submit() with PolicyNotSupported. vni:insufficient-operators is reserved for the case where the operator set was sufficient at acceptance but dropped below minOperators before the response was produced.
How a network defines “operator” is network-specific (staking address, key cluster, self-declared operator ID, etc.) and SHOULD be documented in a public operator-identification methodology alongside the deployed contract. The methodology document is the artifact a third-party auditor uses to verify the network’s diversity claims. Pseudo-anonymous Sybil at the operator level is a known risk; networks SHOULD describe their mitigations in the same document.
The same methodology SHOULD also define the network’s eligibility set: which validators are eligible for selection at a given time, how entry and exit are recognized, and which liveness or freshness signals are required. Examples include stake or registration status, active-session membership, heartbeat freshness, jail/slashing state, or other network-specific availability criteria.
Networks MUST publish a current operator-concentration analysis alongside the deployed contract, covering at least operator count, top-K share, a concentration index (Herfindahl-Hirschman or equivalent), and the methodology used to cluster apparent operators into actual operators.
Networks SHOULD publish a versioned, content-addressed methodology document and SHOULD make the active methodology version discoverable alongside the deployed contract. Where practical, networks SHOULD anchor the methodology hash or version on chain so clients and auditors can detect silent changes to the eligibility or operator-clustering rules used to satisfy a policy.
Attestation Envelope
Validators sign attestations off chain. The signed payload is an EIP-712 typed-data structure:
EIP712Domain{stringname;// "ERC8004ValidationNetwork"
stringversion;// "1"
uint256chainId;addressverifyingContract;// the IValidationNetwork contract
}Attestation{bytes32requestHash;uint256agentId;addressvalidator;uint8verdict;// 0..100, same scale as ERC-8004 validationResponse
bytes32evidenceHash;// keccak256 of canonical, unframed off-chain evidence payload
uint64issuedAt;// unix seconds, validator's view
bytes32challengeKind;// copied from policy
bytes32nonceHash;// keccak256 of the network-issued nonce, if any; see below
}
When a network issues a nonce for a request, the nonce MUST be bound to that request’s requestHash, so that an attestation produced for one request cannot be replayed against another.
The off-chain aggregated response file referenced by the responseURI argument of validationResponse (and emitted in ERC-8004’s ValidationResponse event) MUST contain:
The verdictMode field uses the same 0|1|2 encoding as SelectionPolicy.verdictMode.
The agentId field is the ERC-8004 agentId for the request, included so that each attestation’s signed struct can be recomputed from the file alone.
The validators array lists exactly the validators that responded, in the same order as attestations, so it equals the list of attestations[].validator values. The full selected set is available from the ValidatorsSelected event.
Each signature is a 65-byte ECDSA signature r || s || v with v in {27, 28}, over the EIP-712 digest keccak256(0x19 || 0x01 || domainSeparator || hashStruct(Attestation)). When validator is a contract, the signature is verified with ERC-1271isValidSignature(digest, signature) instead.
All byte strings in the file, including policy (the ABI-encoded policy bytes), hashes and signatures, MUST be encoded as lowercase hexadecimal with a 0x prefix. Addresses MUST be lowercase and MUST NOT use ERC-55 mixed-case checksums, because JCS does not normalize letter case and a checksummed address would change responseHash.
The schema field identifies the aggregated-response schema version. Networks MAY use a more specific namespaced schema value for extension documents, but generic clients MUST recognize vni-aggregated-response/v1 for this revision.
The attestationsRoot is a Merkle root over the attestations, included so a holder of a single attestation can prove inclusion without the full file. It MUST be computed as follows:
Each leaf is the EIP-712 struct hash hashStruct(Attestation), that is keccak256(abi.encode(ATTESTATION_TYPEHASH, requestHash, agentId, validator, verdict, evidenceHash, issuedAt, challengeKind, nonceHash)). It is not the 0x1901-prefixed signing digest.
Leaves are ordered by validator address, ascending. The order of the attestations array does not affect the root.
Each internal node is keccak256(abi.encodePacked(min(a, b), max(a, b))), where a and b are its two children compared as unsigned 256-bit integers. This commutative construction lets an inclusion proof be checked with OpenZeppelin’s MerkleProof.verify.
When a level has an odd number of nodes, the last node is promoted to the next level unchanged. It is not duplicated.
For a response containing exactly one attestation, attestationsRoot is that attestation’s leaf.
Worked example with two attestations. Both share requestHash = keccak256("example-request"), agentId = 42, verdict = 100, evidenceHash = keccak256("example-evidence"), issuedAt = 1745870000, challengeKind = keccak256("rpc-equivalence-v1") and nonceHash = 0x00…00. They differ only in validator.
The aggregated responseHash written to the Validation Registry is the keccak256 of the canonical JSON serialization of this file (RFC 8785 JSON Canonicalization Scheme (JCS)). The per-attestation evidenceHash is computed over the canonical, unframed evidence payload and is independent of any transport envelope used to store or retrieve that evidence.
Response URI Semantics
ERC-8004 does not store responseURI in contract state; it is passed as an argument to validationResponse and emitted in the ValidationResponse event, which is where clients obtain it. It locates the off-chain aggregated response file. This extension standardizes the contents and hash of that file, but does not require a single transport or URI scheme.
Generic clients SHOULD treat responseURI as an opaque, network-defined locator unless they explicitly understand the network’s documented scheme. Networks SHOULD document how to resolve their responseURI values and how those values relate to the responseHash written to the Validation Registry.
Valid network-defined locator forms include HTTPS URLs, InterPlanetary File System (IPFS) URIs, blob transaction hashes, content-addressed object identifiers, or other opaque strings. Regardless of locator form, the resolved aggregated response file MUST hash to the recorded responseHash under the canonical JSON rules above.
Aggregated Verdict
The aggregated verdict written to ERC-8004’s validationResponse() is binary in this revision and computed per verdictMode:
any-pass: 100 if any received attestation reports verdict >= 50, else 0.
majority: 100 if more than half of received attestations report verdict >= 50, else 0.
unanimous: 100 if all received attestations report verdict >= 50, else 0.
In all three modes, the aggregated verdict is exactly 0 or 100. Spectrum verdicts (e.g., a literal mean of received verdicts) are deferred to a follow-on extension.
The verdict alone does not distinguish a successful failed-validation from a timeout or other operational failure. That distinction is communicated through the Validation Registry’s tag field; see Response Tags.
Response Tags
The tag argument to ERC-8004’s validationResponse() carries the network’s outcome status for the request. Networks conforming to this extension MUST set tag to exactly one of the normative values below, or to a network-specific value prefixed vni:x-:
Tag
Meaning
vni:ok
Aggregated response produced from at least minResponses attestations. The verdict is meaningful.
vni:timeout
deadlineSeconds elapsed before minResponses attestations were collected. Verdict MUST be 0.
vni:insufficient-operators
The operator set was sufficient when the request was accepted but dropped below minOperators before the response was produced. Verdict MUST be 0.
vni:cancelled
The request was cancelled (e.g., by the network operator under documented emergency procedures) before completion. Verdict MUST be 0.
Networks MAY define additional tag values for network-specific outcomes; non-normative tags MUST be prefixed vni:x- to avoid collision with future normative additions.
A client interpreting an aggregated response MUST treat any tag other than vni:ok as a non-meaningful verdict regardless of the numeric value, and MUST NOT use the verdict to update reputation or downstream state.
Payment Lifecycle
quote(policy) is a pre-flight pricing and ETA signal for submit(). If quote() returns a finite priceWei, callers SHOULD expect to provide that amount as msg.value to submit() unless the network documents another payment path. If quote() returns OUT_OF_BAND_PRICE, payment discovery and settlement happen outside this interface through the network’s documented channel.
For on-chain-priced requests, networks SHOULD document when payment is considered earned: at request acceptance, validator selection, aggregation, successful vni:ok response, or another explicit milestone. Networks SHOULD also document refund or retention behavior for non-vni:ok terminal tags, especially vni:timeout and vni:cancelled.
Generic clients MUST NOT assume that a non-vni:ok response implies a refund, partial refund, or forfeiture unless the network’s payment documentation specifies that behavior. Payment semantics are network-specific; the interface only standardizes the price quote and the outcome tags needed to interpret the result.
Assurance Tiers (Informative)
The following tiers are provided as recommended starting points. They are not normative; clients construct their own policies.
Tier
selectionSize
minOperators
minResponses
Typical use
1
1
1
1
Cheap signal, equivalent to single-validator
2
3
2
2
Default for low-stakes agent-to-agent
3
5
3
4
Default for payment-bearing flows
4
7
5
6
High-stakes, multi-operator floor
The tiers are descriptive. Whether a given network actually meets a tier is answered by the concentration analysis and operator-identification methodology required in Operator Diversity.
Challenge Kinds (Informative)
The challengeKind field tags the type of validation being requested. Networks MAY define their own kinds; the following are suggested as starting points:
keccak256("identity-control-v1") — verify the agent controls a claimed key by signing a network-issued nonce.
keccak256("rpc-equivalence-v1") — verify the agent’s RPC endpoint returns results consistent with a reference set.
keccak256("a2a-card-fetch-v1") — verify the agent’s Agent2Agent (A2A) protocol AgentCard is reachable and well-formed.
keccak256("tee-attestation-pass-through-v1") — verify a presented TEE attestation; the network bridges, does not re-execute.
Each network documents the verification semantics of the kinds it supports. This specification does not define a registry of kinds.
Rationale
Why network-agnostic. Standards bodies correctly reject extensions that look like infrastructure land-grabs. The interface is defined so that any network — a permissionless RPC network, a restaking AVS, a TEE consortium, a decentralized oracle network — can conform.
Why operator-diversity as a first-class field. Multi-validator selection where all validators share an operator is collusion-by-default and provides no meaningful security improvement over single-validator. The policy must let callers express the diversity they want, and the network must enforce it at selection time. Burying this in a tier abstraction or a network-specific extension hides the most security-relevant parameter.
Why “network of independent validators” does not mean end-to-end trustlessness. Read the phrase as “diverse, auditable selection plus a single aggregation locus,” not as a trustless pipeline. This extension distributes the inputs to a validation — which validators are chosen, and the signed attestations they each produce — but the aggregated verdict is still computed and written through a single submit() flow at one contract. The decentralization gain is in selection diversity and the auditable per-validator attestation set, not in the tally itself. The interface deliberately exposes the full validator set in the aggregated response (rather than collapsing it to one number) so clients can re-derive the verdict and build their own collusion detectors; it does not claim the aggregation step is trustless. Equally, the contract can count distinct operators but cannot prove they are independent — minOperators is enforced against a network’s self-declared operator identities, so the strength of the “independent” claim reduces to the credibility of the network’s published operator-identification methodology (see Security Considerations).
Why aggregate on-chain via existing Validation Registry. The Validation Registry already stores validatorAddress, requestHash, response, responseHash, tag, lastUpdate. This is sufficient for an aggregated response. Forking the registry would split tooling, indexers, and explorers for no gain.
Why EIP-712 typed-data attestations. Wallets and standard libraries already verify EIP-712. A custom signing scheme would force every client integration to bring its own verifier. This specification fixes the EIP-712 typed-data layout that validators sign; it does not require any particular Solidity function shape for submitting or storing those attestations on a conforming network contract.
Why JCS canonical JSON. The off-chain aggregated file must hash deterministically across implementations. JCS is the cheapest path to that property.
Why a verification profile. Validator signatures prove who attested, but they do not by themselves prove that validator selection was legitimate or that the network’s aggregation path was independently verifiable. A compact bytes32 profile identifier lets clients distinguish signature-only aggregation from stronger models such as indexer-attested, light-client-backed, zk-backed, or TEE-backed verification without forcing this interface to define a closed enum.
Why agentId stays uint256. This interface keeps agentId as ERC-8004’s uint256 (the ERC-721tokenId assigned by the Identity Registry). Composition with related agent-identity schemes happens at the application or registry layer — VNI does not need to redefine the identifier type to accommodate alternative resolution paths. The verificationProfile() introspection surface provides the hook for compositions of this kind.
Why the extensions field in SelectionPolicy. Networks need room to evolve. Canonical policies decode extensions to empty and ignore the rest; network-aware clients can pack additional fields without breaking compatibility.
Why mandatory addressee verification on submit(). Without an explicit check, a third party who watches the Validation Registry can call any network’s submit() for a requestHash that was registered with a different validatorAddress. The network has no contract-level signal that it is not the legitimate addressee and may burn resources on a request it should never have accepted. Requiring submit() to read getValidationStatus(requestHash) and revert with NotAddressee if the recorded validatorAddress is not address(this) closes the griefing path at the interface layer rather than relying on per-network convention. Bundling the registry validationRequest() and network submit() calls, where available, also minimizes the window in which a client can accidentally submit against stale or unintended registry state.
Why binary aggregated verdicts. A spectrum verdict (e.g., the mean of received attestations) collapses the timeout case into the success case: a timeout that produced no attestations is indistinguishable from “every validator returned 0,” and a partial-response under spectrum mode is indistinguishable from a full-response with low scores. Binary verdicts plus an explicit tag vocabulary preserve that distinction without forcing every generic client to branch on verdictMode to interpret aggregatedVerdict. Spectrum verdicts may be revisited in a follow-on extension.
Why a normative tag vocabulary. ERC-8004’s Validation Registry already stores a free-form tag field. Without a vocabulary, every implementation invents its own and indexers cannot distinguish a timeout from a failed validation from a successful negative verdict. A small normative set (vni:ok, vni:timeout, vni:insufficient-operators, vni:cancelled) covers the cases that matter for downstream state and leaves room for network-specific values under the vni:x- prefix.
Why a sentinel for out-of-band pricing in quote(). Returning (0, 0) to mean “settled out-of-band” collides with returning (0, 0) to mean “free.” A generic client cannot distinguish the two and cannot know whether to fall back to an x402-style discovery flow. A sentinel (type(uint256).max, exposed as OUT_OF_BAND_PRICE()) makes the distinction explicit and verifiable.
Why supportsPolicy, not supports.supports is a reserved keyword in Solidity (alongside sealed, typedef, match, static), so the compiler rejects it as a function name. supportsPolicy also disambiguates from ERC-165’s supportsInterface, which answers a different question, and lines up with the existing PolicyNotSupported error.
Unresolved Questions
The following are unresolved and explicitly invited for co-author and community input:
Policy schema standardization. This draft proposes a canonical SelectionPolicy struct. Should the schema be registry-defined (extensible per network) or fixed at this layer? Current lean: fixed canonical schema with an opaque extensions field for network-specific additions.
Validation network registry. Should there be a contract registering known validation networks (analogous to the agent registry)? Current lean: no — clients pass validatorAddress directly to the Validation Registry, and discovery happens through agent endpoints. A registry may emerge organically at the indexer layer.
TEE attestation pass-through. Should the spec define a normative tee-attestation-pass-through-v1 challenge kind, or leave TEE bridging to TEE-implementer documentation? Current lean: leave the kind to network documentation rather than make TEE pass-through normative in this interface.
Slashing surface. Networks define their own slashing internally. Should the interface expose a normative slash(validator, evidence) hook so clients can trigger network-internal slashing in standard form, or is that strictly out of scope? Current lean: strictly out of scope for v1 because slashing evidence, adjudication, and penalty mechanics are network-specific.
Cost discovery.quote() returns a single price. Real networks may price differently per validator or per challenge kind. Is a single uint256 expressive enough, or does this need to be a structured response? Current lean: a single total price is sufficient for v1; networks needing richer price breakdowns can expose them out of band.
Multi-network aggregation. A natural follow-on is “request the same validation from K networks and combine.” Is this a separate spec or an addendum here? Current lean: separate follow-on spec.
Spectrum verdicts as a follow-on. v1 is binary-only by design. Should a follow-on extension define verdictMode = mean (or weighted-mean) plus the tag and timeout semantics needed to keep success and failure cases distinguishable? Current lean: yes, but only after at least one pilot demonstrates a use case where binary loses meaningful information.
Backwards Compatibility
This proposal is strictly additive. It defines a new interface contract type and a payload format for requestURI and responseURI files. ERC-8004’s Validation Registry contract is not modified. Existing single-address validators continue to work unchanged.
Conformance is detectable via ERC-165, as defined in Interface Detection. A client that calls supportsInterface on a validatorAddress and gets false treats that address as an ordinary single-address validator, so existing validators need no changes. The required false response for 0xffffffff keeps a contract that blindly returns true from being misdetected as a validation network. This is the canonical discovery path and removes the need for a separate validation-network registry.
Security Considerations
Operator concentration. The strength of any conforming network’s minOperators claim is bounded by its actual operator distribution. The Specification requires networks to publish a current concentration analysis (see Operator Diversity). Reviewers should treat unpublished or stale concentration analyses as cause to reject the network, not just the policy. A network with strong claims and no analysis is not credibly permissionless.
Operator-level Sybil. A single party splitting its stake across multiple apparent operators undermines minOperators. The operator-identification methodology described in Operator Diversity is where a network explains how it clusters apparent-operator identities into actual-operator identities. The defense is methodology, not a contract field; the contract enforces the count, the methodology defines what counts as one.
Validator collusion. Pseudo-random selection plus operator-diversity floor reduces but does not eliminate collusion risk. The on-chain audit trail (per-validator addresses in the aggregated response) lets clients build their own collusion detectors over time. The interface intentionally exposes the validator set rather than aggregating it away.
Replay. Per-attestation nonceHash and issuedAt allow clients to enforce freshness windows. Binding the network-issued nonce to requestHash, as the Attestation Envelope requires, prevents cross-request replay.
Stale attestations.issuedAt is the validator’s view, not the chain’s. Clients should compare issuedAt against lastUpdate from the Validation Registry and reject responses with abnormal skew.
Censorship by a single network. A network can refuse a request or selectively serve. ERC-8004’s Validation Registry already permits multiple validatorAddress values per agent over time, so clients with censorship concerns should diversify across networks rather than relying on a single one.
Misrepresented network capabilities. A network claiming to satisfy Tier 4 while operationally satisfying Tier 2 is the most likely misuse. The defense is the published concentration analysis plus third-party audits, not the contract.
Liveness under partial validator failure.minResponses < selectionSize admits liveness under partial failure but accepts the security trade-off that a smaller-than-expected attestation set is producing the verdict. Clients should set minResponses close to selectionSize for high-stakes applications.
Cross-network composition. The interface does not specify how to combine attestations from multiple networks. Clients composing across networks do so at the application layer; the spec does not currently propose a multi-network aggregator pattern.
Chris "Jinx" Jenkins (@TheFeloniousMonk), Luis Correa de Leon (@luyzdeleon), Bryan White (@bryanchriswhite), Tiago Merlini (@TMerlini), Tracie C Myers (@Traciecmyers), "ERC-8294: Validation Network for ERC-8004 [DRAFT]," Ethereum Improvement Proposals, no. 8294, April 2026. Available: https://eips.ethereum.org/EIPS/eip-8294.