// Copyright 2024-2026 Tymofii Pidlisnyi. Apache-2.0 license. See LICENSE.
// ══════════════════════════════════════════════════════════════════
// x402 protocol shapes — v1 wire types
// ══════════════════════════════════════════════════════════════════
// Mirrors coinbase/x402 specs/x402-specification-v1.md exactly so
// PaymentRequirements built by this rail are valid as 402 response
// bodies and PaymentPayload values produced by an x402 client can
// be passed to the facilitator unchanged.
//
// Field names are spec-literal (camelCase, no aliasing). Strings
// carry numeric values for atomic units, unix timestamps, and
// nonces — matching the spec's avoidance of JS-number precision.
//
// The 'exact' scheme on EVM signs an EIP-3009 transferWithAuthorization
// authorization off-chain; the facilitator submits the on-chain
// transaction at /settle. APS records the resulting transaction hash
// as tx_proof on the signed PaymentReceipt.
// ══════════════════════════════════════════════════════════════════
/** Always 1 in v1. Reserved for forward-compatible negotiation. */
export const X402_VERSION = 1;
//# sourceMappingURL=types.js.map