Stablecoin-funded credit
Use stablecoin loan assets in governed credit vaults without giving Torq custody of customer wallets.
Torq supports governed credit markets and vaults whose loan asset can be an admitted stablecoin. The Developer Preview API exposes the attested asset, network, market, vault, position, and workflow state needed to integrate that credit product.
What Torq provides
- Canonical stablecoin asset metadata and policy from
GET /v1/assets. - Network and deployment provenance from
GET /v1/networksandGET /v1/deployments. - Market, vault, tranche, position, fee, and eligibility resources.
- Typed borrower, lender, investor, allocation, and recovery workflows where the application has the exact role and scope.
- Canonical completion, signed events, contract ABIs, and bytecode-bound deployment artifacts.
What remains outside Torq
Torq does not hold a customer's private key, operate a custodial stablecoin account, convert fiat, promise a payout rail, or select a bridge. The integrator owns wallet or custody infrastructure, stablecoin acquisition and withdrawal, sanctions and customer controls, and any offchain banking relationship.
Build the flow
- Read the active network and exact asset contract from the governed deployment resources.
- Confirm the vault and market use that asset and that the customer is eligible.
- Obtain allowance only through the wallet or custody boundary chosen by the integrator.
- Prepare the documented Torq workflow and simulate the exact transaction intent.
- Submit with the customer-owned signer, register the hash, and wait for canonical completion.
- Reconcile the resulting position and balance from Torq's canonical API.
Token behavior
Do not assume every ERC-20 transfers exactly the requested amount or supports the same allowance behavior. Integrate only assets admitted by the current protocol policy and deployment manifest. Use contracts and ABIs for the exact active-V2 artifacts.