Skip to content

createPq402Fetch

createPq402Fetch(options): (input, init) => Promise<Pq402Response>

Defined in: packages/client/src/fetch.ts:127

A fetch that pays PQ-402 402s: signs with ML-DSA-87, seals the request body to the gateway’s registered ML-KEM-1024 key, retries, checks the signed receipt and opens the sealed response. Other responses pass through.

Pq402FetchOptions

(input, init) => Promise<Pq402Response>