Torq SDK reference
Package and method-level reference for integrating Torq through maintained client libraries.
The SDKs are conformance-bound to the OpenAPI contract. They use customer-owned signer callbacks and wait for canonical workflow completion rather than treating a mined transaction as application success.
Availability: Private Preview. Package names below identify checked-in source packages. This repository does not prove public package-registry publication for the Python, JVM, or Swift packages, so their references do not provide public install commands.
Launch an Earn experience
const earn = await connectTorqEarn({ publishableKey, deploymentNamespace, wallet, review });
const products = await earn.catalogue();
await earn.deposit({ wrapperAddress, assetAddress, assets });connectTorqEarn handles the bounded wallet session and canonical lifecycle. The required review callback and customer-owned signer remain explicit security boundaries.
Packages
| Package | Availability | Reference |
|---|---|---|
@torq-finance/sdk | Private Preview | Earn connector and TypeScript client |
@torq-finance/react | Private Preview | React hooks and EIP-1193 wallet adapter |
@torq-finance/contracts | Private Preview | Contracts and deployment artifacts |
torq-sdk | Private Preview, source package | Python client |
finance.torq:torq-sdk | Private Preview, source package | Java and Kotlin client |
TorqSDK | Private Preview, source package | Swift client |
Use Developer Guides for the integration flow and API Reference for the underlying HTTP contract.