x402 DeFi Chain TVL Ranking · Defi Chains

by x402 DeFi Chain TVL Ranking

GETBaseSolanaArbitrumPolygon

$0.002

per call · USD Coin on Base

Rank blockchains by total DeFi value locked (TVL) across all protocols

Endpoint

GET https://x402tap.com/api/defi-chains

3

Calls / 30d

3

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402tap.com/api/defi-chains", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402tap.com/api/defi-chains?limit=5" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "chains": [
    {
      "chain": "Ethereum",
      "rank": 1,
      "tokenSymbol": "ETH",
      "tvlUsd": 65000000000
    },
    {
      "chain": "Solana",
      "rank": 2,
      "tokenSymbol": "SOL",
      "tvlUsd": 8500000000
    }
  ],
  "count": 2
}

Payment details

Pay to0xb810b599bc730aa85800babe7f5d160524322c86
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from x402 DeFi Chain TVL Ranking & similar services