The Byzantine Integrator SDK (Documentation Index
Fetch the complete documentation index at: https://docs.byzantine.fi/llms.txt
Use this file to discover all available pages before exploring further.
@byzantine/integrator-sdk) is the official client library for integrating with the Byzantine API. It handles authentication, WebAuthn (passkeys), and provides typed wrappers for API operations so you can focus on your product logic instead of low-level HTTP and crypto.
What the SDK provides
| Capability | Description |
|---|---|
| Integrator API authentication | ECDSA request signing and header generation (X-Pubkey, X-Timestamp, X-Signature) so you can call the API without implementing the signature scheme yourself. |
| WebAuthn (passkey) support | Create and use passkeys for end-user authentication: passkey creation, credential storage, and transaction signing flows. |
| API method wrappers | Typed methods that map to Byzantine API endpoints, keeping request/response shapes consistent. |
Installation
Package on npm
Quick start
Initialize the client with your Integrator Private Key (from the Byzantine team). The same client can be used for both API-key–signed requests and, when configured, WebAuthn flows.Integrator API authentication
The SDK generates the authentication headers required for every API request:getStamp(method, pathAndQuery, body)— Returns an object withX-Pubkey,X-Timestamp,X-Signature, andContent-Typethat you pass as request headers.
WebAuthn (passkey) authentication
For end-user–owned wallets and transaction approval, the SDK supports WebAuthn:- Passkey creation — Register passkeys for users and attach them to Byzantine accounts during account creation.
- Transaction signing — Get WebAuthn signatures for transaction payloads via the SDK so users approve with their passkey instead of a shared secret.
rpId, rpName, timeouts) and flows for discoverable vs non-discoverable credentials are documented in Authentication methods.
API method wrappers
Beyond raw request signing, the SDK exposes methods that wrap Byzantine API endpoints. Use these for a consistent, typed interface to vault data, accounts, deposits, withdrawals, and user management without building request URLs and bodies by hand. Refer to the OpenAPI specification and the SDK’s exported types for the full list of supported operations.Next steps
- API authentication — Header format, signature scheme, and manual implementation.
- Authentication methods — Passkey creation and WebAuthn transaction flows.
- Sandbox — Test your integration against the sandbox environment.
- OpenAPI specification — Full API surface for code generation and reference.

