🧩SDK & API Layer

The SDK & API Layer enables partners — including wallets, bots, DeFi dashboards, social apps, and other high-traffic platforms — to integrate OneClick’s curated yield marketplace and liquidity routing infrastructure directly into their native user experience.

This modular infrastructure allows partners to offer embedded DeFi strategies to their users without needing to build or manage complex smart contract integrations themselves.

Through SDKs and APIs, OneClick extends the reach of protocols’ vaults and boosts while providing an attribution and monetization framework for distribution partners.


System Architecture

  • Yield Discovery API: Provides access to the catalog of available yield pools, along with metadata such as chain, asset, APY, vault risk profile, and boost eligibility.

  • Deposit Routing SDK: Frontend integration kit enabling users to deposit directly into vaults via partner apps, with attribution data attached automatically.

  • Attribution & Tracking Hooks: Lightweight SDK hooks that capture referral origin, user wallet address, and destination vault ID during the transaction initiation.

  • Reward Attribution API: Endpoint that allows partners to track boosts, points, and incentive earnings generated through their referred user activity.

  • Campaign Management Dashboard (Partner-side) (Coming soon): A portal for partners to view, monitor, and optimize their user flows, boosts earned, and incentive payouts.


Integration Options

  • Full SDK Integration: Partners integrate OneClick’s SDK components directly into their frontend, enabling full in-app discovery, filtering, and deposit flows.

  • API-Only Integration: Partners fetch vault data from the API and build their own UX/UI layer around discovery and deposit initiation.

  • Widget Integration: Embed a lightweight, iframe-compatible widget for fast deployment — minimal technical overhead required.

Each integration method supports automatic attribution, ensuring partners are properly credited for the liquidity flows they generate.


Attribution Flow

  1. User interacts with OneClick-powered vault listing inside the partner app.

  2. User initiates deposit flow directly from the partner frontend.

  3. Attribution metadata (partner ID, campaign ID, user address) is appended invisibly.

  4. Transaction is routed to the protocol vault’s smart contract.

  5. Partner receives credit for the deposit and becomes eligible for revenue sharing, boost multipliers, or custom incentives.


Security and Compliance

  • SDK/API layers are non-custodial and stateless by design — OneClick never holds user keys or funds.

  • All deposits are routed directly to the protocol smart contracts.

  • Attribution and reward metadata are separated from transactional data to maintain security boundaries.

  • Partners must adhere to OneClick’s partner compliance terms for integration eligibility.


Benefits for Partners

  • Instant yield offering — embed top DeFi strategies without building infra

  • New revenue stream — earn share of boosts, fees, or incentives for routed liquidity

  • Better user retention — offer native yield farming without sending users off-platform

  • Access to points metas — tap into future DeFi airdrops, incentives, and network expansions

  • Light technical lift — simple SDK integration or API access with full developer documentation

Last updated