Skip to main content
RocketFi ships first-party SDKs for integrations against RocketChain and the trading APIs documented on this site. For product and chain context (RocketBFT, matching engine, RocketFi features), see the Rocket Foundation quickstart and the wider Rocket documentation.

Official SDKs

SDKRepositoryUse for
Rustrocketfoundation/rocket-sdk-rustNative RocketChain / RocketFi clients and on-chain workflows in Rust.
Pythonrocketfoundation/rocket-sdk-pythonTrading, REST, and automation in Python.
Use the README and examples in each repo for installation, versioning, and environment-specific configuration (beta, testnet, etc.).

API contracts (REST and WebSockets)

Keep generated or hand-written code aligned with the deployed API:
  • REST: OpenAPI JSON — this documentation site also keeps an enriched copy at specs/openapi.json for page generation.
  • WebSockets: AsyncAPI for stream shapes and message types.
For third-party codegen only (not a substitute for the official SDKs), tools such as OpenAPI Generator or Speakeasy can consume the OpenAPI document; AsyncAPI-aware generators can help with typed client messages where supported.

Versioning

Pin SDK versions and any generated stubs to released API snapshots when you need reproducible builds: export /docs/openapi.json and /docs/ws-asyncapi.yaml from the environment you target and record the hash or release tag in your project.