📖
One Click Docs
  • V2
  • 🎩Manifesto: The Missing Liquidity Layer
  • 💧Introducing V2: OneClick.Fi Liquidity OS
  • Products
  • 🛒Yield Marketplace
  • 🧭Attribution Infrastructure
  • 🧩SDK & API Layer
  • 🎁(coming soon) Boosts and Points Engine
  • For Protocols
  • 📈Why List Your Vaults
  • Integration Guide
  • For Farmers & Allocators
  • 🌾How to Earn with OneClick
  • Depositor Guide
  • For Affiliates (Wallets, Bots, Apps)
  • 🔌Embedding Yield with OneClick API/SDK
  • Get Access
  • Tokenomics
    • 🪙Token Utility
      • Staking Multiplier Info
  • Resources
    • V1
      • 🔻The Current State of DeFi: Problems
      • ⚫Introducing One Click v1
      • 🔮Our Grand Vision
      • 🧭Yield Explorer
      • 🌡️Risk & Safety Scores
      • 🪂Airdrop Tracker
      • 🖇️Airdrop + Yield Farming Composability
      • ⚡One-Click Zaps
      • 🤖AI-Assisted Onboarding: Portfolio Builder
      • ⛽Gas Optimization
      • 🔁Rebalancer & Auto-Compounder
      • 🌱Farming Vaults & Structured Products
        • Methodology
        • Yield Farming Vaults on Optimism
          • Fee Structure
          • Security and Audits
      • 🌉Onboarding More Web2 Users
      • 🔢Data Crowdsourcing
      • 🗄️ Litepaper: Decentralized Asset Management (Nesting Vaults)
      • ⚛️ Fusion Protocol
      • 🌌 Infinity Vaults
      • Portfolio Model v1
      • 💳Fees
    • 14 - Legal Disclosures
Powered by GitBook
On this page
  • Integration Models
  • Supported Use Cases
  • How Integration Works
  • Key Features for Partners
  • Benefits of Partnering
  • Security and Compliance

🔌Embedding Yield with OneClick API/SDK

PreviousDepositor GuideNextGet Access

Last updated 12 days ago

OneClick offers an SDK and API suite that enables wallets, dapps, Telegram bots, and other Web3 apps to seamlessly integrate curated DeFi yield opportunities directly into their native user experience.

By embedding OneClick’s infrastructure, partners can deliver value-added features to their users — including non-custodial yield access, points-eligible pools, and boosted APYs — while creating new monetization opportunities through liquidity attribution.

The SDK is modular, attribution-ready, and chain-agnostic, designed for easy deployment across various app environments.


Integration Models

  • Yield Discovery API Fetch vault metadata, including pool APY, underlying asset, chain, boost eligibility, and risk profile.

  • Deposit Routing SDK Integrate frontend components that enable users to deposit into vaults without leaving the partner’s app interface.

  • Attribution Hook Capture partner ID and transaction metadata to ensure liquidity flows are properly credited and eligible for revenue sharing.

  • Rewards API Access performance data and track reward flows based on liquidity routed through the partner integration.


Supported Use Cases

  • Wallets Offer native “Earn” or “Yield” sections within the wallet app without deploying or managing vault infrastructure.

  • Telegram Bots Enable simple in-chat discovery of boosted pools with 1-click deposit flows, integrated directly into bot interactions.

  • DeFi Dashboards Embed yield aggregation modules to enhance portfolio management platforms.

  • SocialFi and Creator Apps Allow communities to route treasury funds, DAO treasuries, or group investments into high-yield DeFi strategies.


How Integration Works

  1. Partner Onboarding OneClick provides access to SDK and API documentation and issues a partner attribution ID.

  2. Frontend Embedding Partner integrates the SDK components or uses API endpoints to pull vault discovery data into their UI.

  3. Attribution Capture During each deposit flow initiated through the partner frontend, the attribution ID is passed invisibly into the metadata.

  4. User Transaction Deposits route directly to the underlying DeFi protocol smart contracts; OneClick does not custody funds.

  5. Reward Tracking Partner dashboards allow real-time tracking of routed TVL, boosts earned, and monetization data.


Key Features for Partners

  • White-labeled or Co-branded Yield Modules Flexible UI options depending on partner brand preference.

  • Non-Custodial by Design No private keys or user funds are touched by OneClick or the partner app; full self-custody preserved.

  • Boosts and Points Access Users routed via partners can become eligible for higher yields, points campaigns, and ecosystem incentives.

  • Performance Analytics Partners can track their contribution to liquidity flows and optimize performance over time.

  • Revenue Sharing and Incentives Partners can earn a share of boost rewards, campaign incentives, and transaction-driven bonuses.


Benefits of Partnering

  • Fastest time-to-market for offering DeFi yield access

  • No need to manage or update vault strategy integrations manually

  • Ability to monetize liquidity flows without new custody or licensing overhead

  • Enhanced user engagement and retention through embedded DeFi features

  • Exposure to future DeFi incentive metas and airdrop opportunities through OneClick's attribution system


Security and Compliance

  • All transactions route directly between user wallets and protocol smart contracts.

  • Attribution and boost data are handled separately from the transaction layer for safety and integrity.

  • Partners must comply with applicable regional guidelines regarding offering financial or DeFi-related products to users.