{"protocol":"agent-guild/machine-envelope/v1","purpose":"paid issuance of privacy-preserving, sender-authenticated machine communication commitments; verification is free and offline-capable","issue":{"method":"POST","path":"/envelopes/issue","caller_authentication":"agent-guild/caller-proof/v1","caller_authentication_options":["agent-guild/caller-proof/v1","agent-guild/caller-proof-evm/v1"],"caller_proof_header":"X-Guild-Caller-Proof","marketplace_body_transport":{"shape":{"request":"<issue body below>","caller_proof":"<caller-proof envelope>"},"proof_body":"RFC 8785 JCS(request)","proof_resource":"/envelopes/issue","strict_outer_keys":true,"use_when":"the relay forwards JSON buyer input but cannot forward custom headers"},"anonymous_discovery":{"probe":{},"status":402,"discovery_only":true,"executable":false,"guarantee":"a payment or API-key retry without a valid caller proof is rejected before settlement"},"payment":"x402 USDC on Base mainnet or sandbox credits","body":{"kind":["acceptance","authorization","delegation","delivery","intent","message","offer","receipt","revocation"],"recipient":"DID, URL, wallet, agent id or other identifier","payload_sha256":"sha256 hex of the exact payload bytes","nonce":"caller-chosen unique message id, 8..128 chars","ttl_seconds":"60..604800; default 3600","optional":["payload_media_type","resource","reply_to","constraints_sha256","value","context","x402_resource_url"],"x402_resource_url":"for a PayanAgent relay buy only: the exact https://payanagent.com/x402/<offer-id> URL; it is caller-proof signed and included in the payment digest"}},"verify":{"method":"POST","path":"/envelopes/verify","price":"free","offline_capable":true},"client":{"language":"javascript/typescript (node)","source":"/sdk/agentguild_envelope_client.mjs","function":"createEvmMachineEnvelopeClient({evmSigner}).issue(...)","marketplace_function":"machineEnvelopeMarketplaceInput({signer, ...})","payment_dependencies":["@x402/fetch","@x402/evm"],"note":"one function invocation hashes private payload bytes, uses the same caller-owned Base EOA for exact-body authentication and x402 payment, and verifies the returned Guild signature offline; a separate did:key signer remains supported"},"issuer":"https://agent-guild-5d5r.onrender.com/.well-known/agent-guild-did.json","honesty":"The Guild signs observation, exact digest, sender authentication and time. It does not endorse message truth or claim settlement.","payanagent_relay":{"registration":{"externalUrl":"https://agent-guild-5d5r.onrender.com/envelopes/issue","httpMethod":"POST","offerType":"api","wallet_binding":"registering seller wallet must equal the x402 payTo"},"buyer_input":"call machineEnvelopeMarketplaceInput with paymentResourceUrl set to https://payanagent.com/x402/<this-offer-id>; the returned {request, caller_proof} is the Payan buy input","why_the_alias_is_safe":"the exact Payan buy URL is inside request, signed by the caller proof, included in request_sha256, and checked again by the payment gateway"}}