Docs

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

PackageAvailabilityReference
@torq-finance/sdkPrivate PreviewEarn connector and TypeScript client
@torq-finance/reactPrivate PreviewReact hooks and EIP-1193 wallet adapter
@torq-finance/contractsPrivate PreviewContracts and deployment artifacts
torq-sdkPrivate Preview, source packagePython client
finance.torq:torq-sdkPrivate Preview, source packageJava and Kotlin client
TorqSDKPrivate Preview, source packageSwift client

Use Developer Guides for the integration flow and API Reference for the underlying HTTP contract.