📖
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
  • System Architecture
  • Integration Options
  • Attribution Flow
  • Security and Compliance
  • Benefits for Partners

SDK & API Layer

PreviousAttribution InfrastructureNext(coming soon) Boosts and Points Engine

Last updated 12 days ago

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

🧩