UNPKG

@x402-hpke/node

Version:

Provider-agnostic HPKE envelope library for x402 (Node) — cross-language interop with Python

12 lines (11 loc) 288 B
export type X402Fields = { invoiceId: string; chainId: number; tokenContract: string; amount: string; recipient: string; txHash: string; expiry: number; priceHash: string; }; export declare function buildX402Headers(x: X402Fields): Record<string, string>;