Skip to content

Torq SDK reference

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

@torq-finance/sdk
Private Preview
@torq-finance/react
Private Preview
@torq-finance/contracts
Private Preview
torq-sdk
Private Preview, source package
finance.torq:torq-sdk
Private Preview, source package
TorqSDK
Private Preview, source package

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