---
eip: 5139
label: ERC-5139
title: Remote Procedure Call Provider Lists
status: Stagnant
type: Standards Track
category: ERC
created: 2022-06-06
requires: 155, 1577
official: https://eips.ethereum.org/EIPS/eip-5139
source: https://github.com/ethereum/ERCs/blob/master/ERCS/erc-5139.md
canonical: https://eips.huatuo.xyz/eip-5139/
lang: en
tldr: A JSON format for curated, versioned lists of RPC providers per chain ID, so wallets can offer vetted endpoints instead of users pasting in unknown RPC URLs.
tags: [rpc, wallets, json, chain-id, ens]
---

# ERC-5139: Remote Procedure Call Provider Lists

> Format for lists of RPC providers for Ethereum-like chains.

**TL;DR:** A JSON format for curated, versioned lists of RPC providers per chain ID, so wallets can offer vetted endpoints instead of users pasting in unknown RPC URLs.

## What problem does it solve?

With so many EVM-compatible chains and L2s, users routinely add networks through `wallet_addEthereumChain` ([EIP-3085](/eip-3085/)) or by pasting an RPC URL from a website, without any way to judge the endpoint. A bad RPC provider can log every request and IP address, lie about balances or state, or front-run transactions it sees.

ERC-5139 proposes a shared list format, similar in spirit to token lists: wallets ship with a curated list of providers, and advanced users can switch to or layer on lists they trust.

## How it works

A list is a JSON document validated against a JSON Schema in the spec. Consumers must validate it and must not connect to providers that appear only in an invalid list.

- **Top level:** `name`, `version` (`major`/`minor`/`patch`, optional `preRelease` and `build`), `timestamp`, optional `logo`.
- **Root list:** has a `providers` object. Each provider has a `name`, optional `logo` and `priority` (0 is highest; providers without a priority rank below all that have one), and `chains`: an array of `{ chainId, endpoints[] }`, where `chainId` is an [EIP-155](/eip-155/) chain ID.
- **Extension list:** instead of `providers`, has `extends` (parent location via `uri` or `ens`, plus a compatible `version` range) and `changes`, an RFC 6902 JSON Patch applied to the parent's `providers`. This lets someone take a wallet's default list and add or remove a few entries.
- **Versioning** follows SemVer: removing a provider or a chain ID is a major bump, adding one is a minor bump, anything else is a patch. Parent version ranges use `^` (default) or `=` matching.
- **Publishing:** preferably via an ENS name's `contenthash` ([EIP-1577](/eip-1577/)); HTTPS is allowed if it sends permissive CORS headers.

## Sample code

A minimal root list (example hostnames use the reserved `.invalid` TLD):

```json
{
  "name": "Example Provider List",
  "version": { "major": 1, "minor": 0, "patch": 0 },
  "timestamp": "2026-10-19T00:00:00Z",
  "providers": {
    "alpha": {
      "name": "Alpha RPC",
      "priority": 0,
      "chains": [
        { "chainId": 1, "endpoints": ["https://mainnet.alpha.invalid/"] },
        { "chainId": 10, "endpoints": ["https://op.alpha.invalid/"] }
      ]
    }
  }
}
```

An extension list that adds one provider on top of it:

```json
{
  "name": "My Additions",
  "version": { "major": 0, "minor": 1, "patch": 0 },
  "timestamp": "2026-10-19T00:00:00Z",
  "extends": { "uri": "https://lists.example.invalid/rpc.json", "version": { "major": 1, "minor": 0, "patch": 0 } },
  "changes": [
    { "op": "add", "path": "/beta", "value": {
      "name": "Beta RPC",
      "chains": [{ "chainId": 1, "endpoints": ["https://eth.beta.invalid/"] }]
    } }
  ]
}
```

## Things to know

- Status: **Stagnant**. Wallets have not converged on this format; treat it as a design reference.
- The spec's own worked examples for extension lists are still marked "TODO", so details of patch paths are only defined by the prose (pointers are relative to the parent's `providers`).
- Consumers must detect cycles when resolving `extends` chains and should cap how many extension lists they follow.
- A list only tells a wallet *which* endpoints to use; it does not make an RPC trustworthy. Light clients or proof verification are needed for that.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-5139
