ZeroDust Chains API

Chain information

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /chains Get list of supported chains #
GET /bridges/timing Typical bridge delivery times, from real deliveries (last 14 days) #
GET /destinations Chains a cross-chain sweep from fromChainId can deliver native gas to #
GET /chains/{chainId} Get chain details by ID #
GET /direct/chains Chains swept directly by the wallet (no EIP-7702), with USD prices #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/zerodust-xyz:zerodust-xyz-chains-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

zerodust-xyz-chains-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ZeroDust Chains API
  description: 'Move a wallet''s entire native gas balance off an EVM chain and leave exactly 0, to any address on the same chain or bridged to another chain. Sign with the wallet''s key (EIP-7702) or through MetaMask Advanced Permissions (ERC-7715, signer=permission). Supported chains change: read GET /chains and GET /direct/chains. Docs: https://zerodust.xyz/docs/api'
  version: 1.0.0
  contact:
    name: ZeroDust
    url: https://zerodust.xyz
servers:
- url: https://api.zerodust.xyz
  description: Production (mainnet)
tags:
- name: Chains
  description: Chain information
paths:
  /chains:
    get:
      summary: Get list of supported chains
      tags:
      - Chains
      parameters:
      - schema:
          type: boolean
          default: false
        in: query
        name: testnet
        required: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  chains:
                    type: array
                    items:
                      type: object
                      properties:
                        chainId:
                          type: number
                        name:
                          type: string
                        nativeToken:
                          type: string
                        nativeTokenDecimals:
                          type: number
                        minBalance:
                          type: string
                        contractAddress:
                          type: string
                        explorerUrl:
                          type: string
                        enabled:
                          type: boolean
                        crossChain:
                          type: object
                          description: Whether any bridge currently accepts this chain as a cross-chain source. Checked every 10 minutes; null until the first check.
                          properties:
                            available:
                              type:
                              - 'null'
                              - boolean
                            bridges:
                              type: array
                              items:
                                type: string
                            checkedAt:
                              type:
                              - 'null'
                              - string
                        simulation:
                          type: object
                          description: 'Whether this chain''s RPC can simulate an EIP-7702 sweep (hourly canary): mode authorizationList (preferred) or stateOverride (RPC ignores authorizations but follows a delegation-designator code override). Sweeps from a chain with reliable=false are refused. null until the first check.'
                          properties:
                            reliable:
                              type:
                              - 'null'
                              - boolean
                            mode:
                              type:
                              - 'null'
                              - string
                            checkedAt:
                              type:
                              - 'null'
                              - string
      operationId: getChains
      x-operation-id-source: derived
  /bridges/timing:
    get:
      summary: Typical bridge delivery times, from real deliveries (last 14 days)
      tags:
      - Chains
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  routes:
                    type: object
                    additionalProperties:
                      type: object
                      properties:
                        typicalSeconds:
                          type: number
                        p90Seconds:
                          type: number
                        samples:
                          type: number
                        slowLately:
                          type: boolean
                  pairs:
                    type: object
                    additionalProperties:
                      type: object
                      properties:
                        typicalSeconds:
                          type: number
                        samples:
                          type: number
      operationId: getBridgesTiming
      x-operation-id-source: derived
  /destinations:
    get:
      summary: Chains a cross-chain sweep from fromChainId can deliver native gas to
      tags:
      - Chains
      description: Any chain a routing bridge serves from the source, not only ZeroDust chains. Lists what bridges advertise; /quote confirms a route live.
      parameters:
      - schema:
          type: number
        in: query
        name: fromChainId
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  fromChainId:
                    type: number
                  destinations:
                    type: array
                    items:
                      type: object
                      properties:
                        chainId:
                          type: number
                        name:
                          type: string
                        nativeSymbol:
                          type: string
                        nativeDecimals:
                          type: number
                        bridges:
                          type: array
                          items:
                            type: string
                        zerodustChain:
                          type: boolean
                        deliversToken:
                          type: object
                          description: 'Token delivery: the chain''s token arrives as an ERC-20 on the destination, not native gas'
                          properties:
                            symbol:
                              type: string
                            address:
                              type: string
                            decimals:
                              type: number
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
      operationId: getDestinations
      x-operation-id-source: derived
  /chains/{chainId}:
    get:
      summary: Get chain details by ID
      tags:
      - Chains
      parameters:
      - schema:
          type: number
        in: path
        name: chainId
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  chainId:
                    type: number
                  name:
                    type: string
                  nativeToken:
                    type: string
                  nativeTokenDecimals:
                    type: number
                  minBalance:
                    type: string
                  contractAddress:
                    type: string
                  explorerUrl:
                    type: string
                  enabled:
                    type: boolean
                  crossChain:
                    type: object
                    description: Whether any bridge currently accepts this chain as a cross-chain source. Checked every 10 minutes; null until the first check.
                    properties:
                      available:
                        type:
                        - 'null'
                        - boolean
                      bridges:
                        type: array
                        items:
                          type: string
                      checkedAt:
                        type:
                        - 'null'
                        - string
                  simulation:
                    type: object
                    description: 'Whether this chain''s RPC can simulate an EIP-7702 sweep (hourly canary): mode authorizationList (preferred) or stateOverride (RPC ignores authorizations but follows a delegation-designator code override). Sweeps from a chain with reliable=false are refused. null until the first check.'
                    properties:
                      reliable:
                        type:
                        - 'null'
                        - boolean
                      mode:
                        type:
                        - 'null'
                        - string
                      checkedAt:
                        type:
                        - 'null'
                        - string
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
      operationId: getChainsByChainId
      x-operation-id-source: derived
  /direct/chains:
    get:
      summary: Chains swept directly by the wallet (no EIP-7702), with USD prices
      tags:
      - Chains
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  chains:
                    type: array
                    items:
                      type: object
                      properties:
                        chainId:
                          type: integer
                        name:
                          type: string
                        token:
                          type: string
                        decimals:
                          type: integer
                        explorerUrl:
                          type: string
                        rpcUrl:
                          type: string
                        kind:
                          type: string
                        paymaster:
                          type: string
                        txGapBlocks:
                          type: integer
                  prices:
                    type: object
                    additionalProperties:
                      type: number
      operationId: getDirectChains
      x-operation-id-source: derived
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
    bearerAuth:
      type: http
      scheme: bearer