ETHGas · AsyncAPI Specification

Ethgas Websocket Webhooks

Version

View Spec View on GitHub CompanyInfrastructureBlockchainEthereumTradingPreconfirmationsBlockspaceMEVDeFiWeb3AsyncAPIEvents

Channels

public
private

AsyncAPI Specification

ethgas-websocket-webhooks.yml Raw ↑
generated: '2026-07-19'
method: searched
source: https://developers.ethgas.com/ (WebSocket API)
spec_type: Webhooks
surface: websocket
description: >-
  ETHGas exposes a realtime push surface over WebSocket rather than HTTP
  webhooks. Clients connect, then use the subscribe/unsubscribe/query/login
  commands to stream public market data and (after login) private account
  events. Captured as a channel catalog; ETHGas publishes no AsyncAPI document.
endpoints:
  mainnet: wss://mainnet.app.ethgas.com/ws
  testnet: wss://hoodi.app.ethgas.com/ws
commands: [subscribe, unsubscribe, query, login]
channels:
  public:
    - name: Preconf Market Update
    - name: Candlestick Update
    - name: Recent Trades Update
    - name: Order Book Update
    - name: Ticker Update
    - name: Inclusion Preconf Top Sales
    - name: Block Builder Update
  private:
    - name: Account Order Update
      auth: requires login
    - name: Account Transaction Update
      auth: requires login
    - name: Account Position Update
      auth: requires login
    - name: Preconf Bundle Update
      auth: requires login
notes: Channel names captured verbatim from the docs; message payload schemas are not published as a spec.

Work with this as data

Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/ethgas-websocket-webhooks"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.