DeFi dashboard

DeFi market overview: total TVL, ETH price, Base gas, and global crypto stats in one call.

$0.014 per call · one payment for the whole workflow
POST /api/skill/defi-dashboard
Sample output + API docs →

4 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. USDC over x402 on any supported chain.

When to use this pack

Quick DeFi health check - TVL trends, ETH price context, gas costs, and market-wide metrics.

Tools in this pack

All 4 run inside the single $0.014 call above. Each is also callable on its own if you only need one part.

Bought one at a time, these 4 tools cost $0.015 together; the pack is that sum less a 10% bundle discount, rounded up to the $0.001 settlement floor, which is $0.014.

Workflow

  1. Pull total DeFi TVL across all chains.
  2. Get the live ETH price as the reference asset for DeFi.
  3. Check Base gas for current transaction costs.
  4. Pull global crypto market stats for total cap and dominance context.

What one call returns

A JSON object with pack, args, steps, summary; steps holds one entry per tool (defi-tvl, crypto-price, gas-snapshot, crypto-global), each with its own result or error. Full example on the API page.

Call it directly

Any x402 client pays the 402 and gets the whole workflow back in one response. With the agent402-client SDK (npm i agent402-client, an ES module):

import { Agent402 } from "agent402-client";
// payFetch: an x402-wrapped fetch your wallet signs (@x402/fetch).
// Tools on the free tier need no options: new Agent402() pays them by proof-of-work.
// an existing prepaid credits key also works: new Agent402({ creditsKey })
const client = new Agent402({ fetch: payFetch });
const result = await client.call("skill-defi-dashboard", {});

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Give me a DeFi market overview using Agent402's defi-dashboard skill pack. Get (1) total DeFi TVL, (2) ETH price, (3) Base gas tiers, (4) global crypto stats. Summarize the health of DeFi right now.

← All skill packs