ERC-8409 Signature-based service payment quote (Signed Service Payment Quotes)

Draft · Signatures & auth · created 2026-09-04

A standard in which a service provider signs the payment terms for a specific request, such as amount, asset, recipient, and validity period, using EIP-712 to attest to them. Actual funds approval and payment execution happen separately.

Why it is needed

In machine-to-machine or agent payments, the stage where the provider presents service terms is separate from the stage where the payer approves payment. However, existing payment-approval standards authenticate only the second stage, the payer's approval, and do not provide a transport-agnostic EVM object proving what terms the provider presented for a specific request in the first place. Protocol-specific signed offers already exist, such as x402's Offer/Receipt extension, but these are tied to a specific protocol's version and field structure, making them hard to reuse across different transports such as HTTP, MCP, A2A, and wallet APIs.

What to implement

In depth

Quote structure and required fields

ServicePaymentQuote carries ten fields, issuer, payer, recipient, asset, amount, requestScheme, requestHash, quoteId, validAfter, and validUntil, in a fixed order and type. Issuer, recipient, amount, and quoteId must be nonzero, and validAfter must be less than or equal to validUntil. A zero address for payer means a bearer quote, and a zero address for asset means the native asset of the settlement chain. Amount is the exact nominal payment and does not include gas fees, relayer fees, facilitator fees, exchange fees, or other such costs; any such additional costs must be disclosed and approved separately.

Request binding and requestScheme

requestHash is keccak256(canonicalRequestBytes) over the canonicalized request bytes defined by requestScheme. requestScheme must be 1 to 128 bytes of printable ASCII characters in UTF-8 and must point to a deterministic, versioned algorithm. The scheme must define the service/operation identifier, which request fields are included, the exact serialization method, how to distinguish equivalent from non-equivalent requests, and any transport metadata that affects price or meaning. A verifier can only claim that request binding has been verified if it actually supports the signed requestScheme, independently derives the canonicalized bytes, and recomputes requestHash to confirm a match. A component that checks only the signature and payment fields can only say the signature is valid, not that it has verified request binding.

Quote identifier and single-use consumption

quoteId is a value that identifies a single, specific signed quote, and is recommended to be generated from at least 128 bits of entropy or from a unique record on the issuer's side. quoteId itself does not imply single use, replacement, revocation, or grouping, and reissuing a quote requires a new quoteId. An application that claims single-use consumption must separately define a logical call identifier that remains stable across retries and reissuance, the scope of shared consumption state, the component responsible for enforcing it, and which of payment or service execution this guarantee covers.

Validity period verification rules

A quote is valid when validAfter <= t <= validUntil at verification time t. This window applies both to creating a new payment authorization and to submitting a new payment, and must be rechecked immediately before each action. validUntil does not cancel block inclusion or the execution of a payment that has already been submitted, and its passing cannot be taken to mean that a pending payment has failed. If a payment authorization or settlement mechanism imposes its own deadline, that deadline cannot exceed validUntil.

EIP-712 domain and signature verification

The EIP-712 domain consists of name="Signed Service Payment Quotes", version="1", chainId=the settlement chain ID, and does not include verifyingContract. For an issuer account with no code, the secp256k1 signature over quoteDigest is verified; the 27/28 and 0/1 recovery value notations must be normalized, and signatures with r=0, s=0, or high-s must be rejected. For an issuer account with code, authentication occurs only when calling ERC-1271's isValidSignature(quoteDigest, signature) returns the magic value 0x1626ba7e, and in this case it must not fall back to ECDSA recovery.

Payer binding and bearer quotes

If payer is nonzero, that account must be the selected payer. A bearer quote with payer set to the zero address must be explicitly permitted by the surrounding application, and the actual payer must be bound through a separate payment authorization mechanism. A bearer quote itself grants no account spending authority, and when using a bearer quote for a single-use or non-idempotent request, it is recommended to include a client-generated nonce within the request that requestHash commits to.

Settlement conformance and transport bindings

The issuer signature only authenticates the provider's terms and does not authorize the payer's funds, so the payer must separately authorize the chosen settlement mechanism. A settlement integration conforming to this ERC must verify that the actual payment matches the quote's chainId, effective payer, asset, recipient, and amount. The transport binding that carries this quote (HTTP, x402, MCP, A2A, etc.) must each define the expectedIssuer authentication method, the permitted requestScheme, the bearer quote policy, the submission event and responsible component, and whether an execution deadline exists and how it relates to validUntil.

Standard status

This ERC is currently in Draft status and has not been finalized; its structure or detailed rules may change, or discussion may stall, going forward.

Things to watch out for

Original ERC · ← ERCs