forexiz
FIG. 09·7
Forexiz · Developer docs
Docs · Public APIs

Build on
Forexiz.

Forexiz exposes its primitives as public APIs and a typed SDK. Use them to integrate Pyth-referenced quotes, verify signed receipts, fetch Merkle proofs, or query on-chain vault state directly.

installnpm · v1.0
$ npm install @forexiz/contracts-sdk
$ pnpm add @forexiz/contracts-sdk

import { client } from '@forexiz/contracts-sdk'
const vault = client.vault('arbitrumOne')
await vault.collateralOf(account)
§ 02 · Endpoints + SDK
6 surfaces · 5 live · 1 planned
SDK · viem-compatibleLive
§01

Contracts SDK

TypeScript SDK with hand-written ABIs and typed clients for ForexizRegistry, ForexizCollateral, ForexizMarginManager, ForexizCommitments.

npm install @forexiz/contracts-sdk
View on GitHub
pricing-service · port 4001Live
§02

Pricing API

SSE stream of every Pyth-referenced quote. REST snapshot per symbol. Session-aware (24/5 FX window). Degraded events on stale feeds.

GET /v1/pricing/stream  (SSE)
GET /v1/pricing/snapshot
GET /v1/pricing/feeds
View on GitHub
signer-service · port 4002Live
§03

Signing API

Ed25519 fill-receipt signer + verifier. Public key rotation log. Canonical-JSON serialization (RFC 8785 subset).

POST /v1/signer/sign     (gated)
POST /v1/signer/verify   (public)
GET  /.well-known/fill-signing-keys.json
View on GitHub
commitment-service · port 4005Live
§04

Commitment API

Per-window Merkle batches. Strict-monotonic batchSeq. Per-fill proof generation. Forced-close on shutdown.

GET  /v1/commitment/state
GET  /v1/commitment/proof/:fillId
POST /v1/commitment/fill   (gated)
View on GitHub
Phase 4 · plannedPlanned
§05

Subgraph

The Graph indexer for vault Deposit / Withdraw / Liquidate / EmergencyExit events plus commitment BatchCommitted.

# Coming Phase 4
View on GitHub
DisclosureLive
§06

Bug bounty

Responsible disclosure today. Live Immunefi listing post-$1M TVL. Hall of fame on /trust/audits.

[email protected]
# PGP key fingerprint: see SECURITY.md
Read more
§ 03 · On-chain
Verified on Arbiscan

ABIs
on-chain.

Every contract is verified on Arbiscan. Click through for source, ABI, and read/write function explorer. Same ABI shipped in the SDK, same source as in the public repo.