Find a documentation page
TEE-delegated SWQoS signing
Everything you need to lease, sell, or integrate staked QUIC capacity: guides, SDKs, API reference, and the security model, all in one place.
Lease capacity and route a transaction in a few lines with the TypeScript SDK.
import { MarketplaceClient, TpuClient } from "@swqos/staked-quic-sdk";
// Book + pay your lease in the app, reveal your API key once, then:
const marketplace = new MarketplaceClient({
apiBase: "https://api.swqos.dev",
apiKey: process.env.SWQOS_API_KEY,
leaseId: "01HX...",
});
const { jwt } = await marketplace.fetchJwt();
// Sign the QUIC handshake through the validator's TEE
const tpu = new TpuClient({ endpoint: "tee.validator.example:443" });
const cert = await tpu.getCertificate();
const signature = await tpu.signCertificateVerify(transcriptHash, jwt);