81trust / 100

Skill Defi Dashboard

by Skill: DeFi dashboard in Onchain & crypto

x402 APIPassing, checked 34 min ago

DeFi market overview: total TVL, ETH price, Base gas, and global crypto stats in one call. DeFi dashboard skill pack: one x402 payment runs 4 underlying tools (defi-tvl, crypto-price, gas-snapshot, crypto-global); partial-success per step.

POST https://agent402.tools/api/skill/defi-dashboard

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
240 ms typical, 240 ms slowest 5%
Last check
34 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/skill/defi-dashboard" \
  -H "content-type: application/json" \
  -d '{}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fskill%2Fdefi-dashboard
const res = await pay("https://agent402.tools/api/skill/defi-dashboard", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}),
});
console.log(await res.json());

Example input

{}

Example output

{
  "args": {},
  "pack": "defi-dashboard",
  "steps": [
    {
      "ok": true,
      "result": {},
      "slug": "defi-tvl"
    },
    {
      "ok": true,
      "result": {},
      "slug": "crypto-price"
    },
    {
      "ok": true,
      "result": {},
      "slug": "gas-snapshot"
    },
    {
      "ok": true,
      "result": {},
      "slug": "crypto-global"
    }
  ],
  "summary": "4/4 steps succeeded"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
34 min agoPassed402190 ms$0.014
4 h agoPassed402260 ms$0.014
9 h agoPassed402240 ms$0.014