Spock Analytics
  • Introduction
  • The Spock Thesis
  • Spock Analytics
    • Explore: The Data Warehouse for DApps
    • Probe: Strategic Data Reports
    • Engage: Improve User Conversion and Retention
  • Spock API
    • Build Custom Campaigns Using On-chain Data
    • Decipher Web3 Wallets Landscape
  • Guides
    • Maximize NFT Lending: Strategies For NFTFi DApps
    • 10x NFT Borrower Engagement: Strategies For NFTFi DApps
    • Offer Gas Refunds to Newly Converted Users
    • Boost Your Liquidity Providers Conversion Rate
    • Increase Transaction Submissions by 15% Using Probe
  • Configuration
    • Onboarding
    • Contracts
    • SDK
      • API Reference
      • Supporting Wallets
      • NPM Package
      • Example Application
      • SDK Code
    • Adapter
      • Transformers
      • TVL Extractors
      • How to code an adapter?
      • Functions we have written so you don't have to
        • Multicall
        • Sum Balances
      • GitHub repo
  • Pricing
    • Explore & Probe
    • Engage
    • Pricing Calculations & FAQs
  • Data Catalog
    • Wallet
    • Global
    • This Protocol
    • Session
    • Other Protocols
    • Transaction
Powered by GitBook
On this page
  • Key Features
  • Examples of Campaigns
  1. Spock API

Build Custom Campaigns Using On-chain Data

Get insights about your wallets via an API and serve them custom campaigns.

PreviousEngage: Improve User Conversion and RetentionNextDecipher Web3 Wallets Landscape

Last updated 1 year ago

Spock API allows Web3 projects to build an audience based on purely on-chain data, recognize triggers in real time, and serve custom campaigns tailored to specific user behaviors. With Spock API, you can turn raw blockchain data into actionable insights and personalized engagement.

Key Features

Audience building on on-chain data

  • Segmentation: Create audience segments based on transaction history, token holdings, and other on-chain activities.

  • Custom criteria: Use advanced filters to target users based on specific on-chain behaviors like staking, trading, or DAO voting.

Real-time triggers

  • Event Monitoring: Instantly know if a wallet that matches your criteria connects to your dApp.

  • Automated Responses: Automatically trigger custom campaigns based on these real-time events.

How to use it

  • Create an audience segment using .

  • Get an API that lets you know when a wallet from the segment connects to your dApp.

  • Take action on the dApp suitable to your needs.

Examples of Campaigns

Welcome Campaign for New Users

  • Trigger: A new wallet address interacts with your smart contract.

  • Action: Automatically serve them a product tour.

Loyalty Rewards for High-Volume Traders

  • Trigger: A wallet address exceeds a certain volume of transactions within a week.

  • Action: Offer a discount on trading fees, special NFT as a reward, or boosting on farming incentives.

Special Offers for DAO Participants

  • Trigger: A wallet address votes on a DAO proposal related to your project.

  • Action: Offer exclusive access to a beta feature or a special governance token bonus.

Gas Fee Refunds for Failed Transactions

  • Trigger: A wallet address experiences multiple failed transactions within a short period.

  • Action: Offer a gas fee refund and a guide on how to avoid common transaction errors.

Spock Analytics