# Glassnode Ethereum Gas Usage by Transaction Type (Relative)

> Glassnode Ethereum Gas Usage by Transaction Type (Relative) is a paid API for AI agents from x402.glassnode.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns the relative share of Ethereum gas consumed by each transaction category (Vanilla, ERC20, Stablecoins, DeFi, Bridges, NFTs, MEV Bots, Other) over 24-hour intervals.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/fees/tx_types_breakdown_relative
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glassnode-ethereum-gas-usage-by-transaction-type-relative-52ee8ab3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CsdnZWeh54Wp8Sp0fZicB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability glassnode-ethereum-gas-usage-by-transaction-type-relative-52ee8ab3
```

Example prompt: Pull the latest Glassnode breakdown of how Ethereum gas is split across transaction types — DeFi, MEV bots, stablecoins, NFTs, bridges, ERC20, and vanilla ETH transfers — for the past 24 hours in JSON format.

## When to prefer this

Choose this endpoint when you need to understand the relative composition of Ethereum gas consumption across distinct transaction categories, particularly when comparing DeFi activity vs MEV bots vs stablecoin usage over time. Prefer this over absolute fee metrics when you want share/proportion analysis rather than raw fee amounts. Ideal for on-chain analysts, researchers, and dashboards tracking Ethereum network activity trends.

## Known failure modes

- Missing required 'a=ETH' query parameter returns a 400 validation error
- Invalid asset symbol (non-ETH) rejected due to const constraint
- Payment not included or insufficient USDC causes 402 Payment Required
- Unsupported interval or format enum value returns a 400 error
- Glassnode data pipeline delay may cause stale or missing recent data points
- Network timeout if upstream Glassnode API is unavailable

## How this service works

Ethereum Gas Usage by Transaction Type (Relative) — The share of Ethereum gas consumed by transaction category: Vanilla (pure ETH transfers between EOAs), ERC20 (token calls, excluding stablecoins), Stablecoins (pegged tokens such as USDT, USDC, DAI), DeFi (protocols and DEXs like Uniswap and Aave), Bridges (cross-chain transfers), NFTs (ERC-721/1155 and marketplaces), MEV Bots, and Other. Data by Glassnode.

## Output

An array of timestamped objects where each entry contains the relative (percentage) share of Ethereum gas consumed by each transaction category: Vanilla EOA transfers, ERC20 token calls, Stablecoins, DeFi protocols/DEXs, Bridges, NFTs, MEV Bots, and Other, sampled at 24-hour resolution.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "a"
     ],
     "properties": {
      "a": {
       "enum": [
        "ETH"
       ],
       "type": "string",
       "description": "Asset symbol, e.g. BTC, ETH"
      },
      "c": {
       "enum": [
        "native"
       ],
       "type": "string",
       "description": "Currency for denominated values, e.g. usd, native"
      },
      "f": {
       "enum": [
        "csv",
        "json"
       ],
       "type": "string",
       "description": "Response format: json or csv"
      },
      "i": {
       "enum": [
        "24h"
       ],
       "type": "string",
       "description": "Time interval / resolution, e.g. 24h, 1w, 1month"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "o": {
        "type": "object"
       },
       "t": {
        "type": "number"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glassnode-ethereum-gas-usage-by-transaction-type-relative-52ee8ab3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.glassnode.com](https://www.zero.xyz/host/x402.glassnode.com/llms.txt)
