{"eip":3014,"title":"eth_symbol JSON-RPC method","description":"Add ethsymbol method to the JSON-RPC that returns the symbol of the native coin of the network.","authors":["Peter Grassberger (@PeterTheOne)"],"status":"Stagnant","type":"Standards Track","category":"Interface","created":"2020-09-30","discussionsTo":"https://github.com/ethereum/EIPs/issues/3012","repo":"EIPs","label":"EIP-3014","officialUrl":"https://eips.ethereum.org/EIPS/eip-3014","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-3014.md","url":"https://eips.huatuo.xyz/eip-3014/","tldr":{"en":"Proposed an eth_symbol JSON-RPC method that returns the native coin's ticker (e.g. \"ETH\"), so multi-chain wallets don't need users to type it in.","ja":"ネイティブコインのティッカー（例: \"ETH\"）を返す eth_symbol JSON-RPC メソッドを提案した。マルチチェーンのウォレットがユーザーに入力させなくて済むようにする。","ko":"네이티브 코인의 티커(예: \"ETH\")를 반환하는 eth_symbol JSON-RPC 메서드를 제안했다. 멀티체인 지갑이 사용자에게 직접 입력하게 하지 않아도 된다.","zh":"提出了 eth_symbol JSON-RPC 方法，返回原生币的代码（例如 \"ETH\"），这样多链钱包就不需要用户手动输入。"},"tags":["json-rpc","wallet","interface","multichain"],"explainers":{"en":{"lang":"en","tldr":"Proposed an eth_symbol JSON-RPC method that returns the native coin's ticker (e.g. \"ETH\"), so multi-chain wallets don't need users to type it in.","tags":["json-rpc","wallet","interface","multichain"],"related":[695,3085,20],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-3014/","markdown":"## What problem does it solve?\n\nA wallet that connects to many EVM networks needs some basic facts about each one. The chain ID can already be read from the node with `eth_chainId` ([EIP-695](/eip-695/)), but the symbol of the native coin cannot. Users had to look it up in community lists and enter it by hand.\n\nERC-3014 proposes letting the node report it directly, much as an [ERC-20](/eip-20/) token reports its own `symbol()`.\n\n## How it works\n\nA new read-only method:\n\n- **Method:** `eth_symbol`\n- **Params:** none\n- **Returns:** a string with the native coin's symbol, e.g. `\"ETH\"` on mainnet\n\nThat's the entire specification. The authors considered the name `eth_nativeCurrencySymbol` but chose the shorter name because the `eth_` namespace and single return value make the meaning clear.\n\n## Sample code\n\nRaw JSON-RPC request and response, as in the spec:\n\n```bash\ncurl -X POST -H \"Content-Type: application/json\" \\\n  --data '{\"jsonrpc\":\"2.0\",\"method\":\"eth_symbol\",\"params\":[],\"id\":1}' \\\n  \"$RPC_URL\"\n```\n\n```json\n{ \"id\": 1, \"jsonrpc\": \"2.0\", \"result\": \"ETH\" }\n```\n\nCalling it from ethers v6, with a fallback because most nodes do not implement it:\n\n```ts\nimport { JsonRpcProvider } from \"ethers\";\n\nconst provider = new JsonRpcProvider(process.env.RPC_URL);\n\nasync function nativeSymbol(): Promise\u003cstring | undefined\u003e {\n  try {\n    return await provider.send(\"eth_symbol\", []);\n  } catch {\n    return undefined; // method not supported: use your own chain list\n  }\n}\n```\n\n## Things to know\n\n- Status is **Stagnant**. Major clients do not implement `eth_symbol`, so do not rely on it.\n- The value is only as trustworthy as the node. A malicious RPC could report a misleading symbol and trick a user about which coin they are handling.\n- In practice, wallets learn the native currency from their own chain lists or from the `nativeCurrency` field supplied via `wallet_addEthereumChain` ([EIP-3085](/eip-3085/)).\n"},"ja":{"lang":"ja","tldr":"ネイティブコインのティッカー（例: \"ETH\"）を返す eth_symbol JSON-RPC メソッドを提案した。マルチチェーンのウォレットがユーザーに入力させなくて済むようにする。","tags":["json-rpc","wallet","interface","multichain"],"related":[695,3085,20],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-3014/","markdown":"## 何を解決するのか\n\n多くの EVM ネットワークに接続するウォレットは、各ネットワークについて基本的な情報を必要とします。チェーン ID は `eth_chainId`（[EIP-695](/eip-695/)）でノードから既に読み取れますが、ネイティブコインのシンボルは読み取れません。ユーザーはコミュニティのリストで調べて手入力する必要がありました。\n\nERC-3014 は、[ERC-20](/eip-20/) トークンが自身の `symbol()` を報告するのと同じように、ノードが直接それを報告できるようにすることを提案します。\n\n## 仕組み\n\n新しい読み取り専用メソッド:\n\n- **メソッド:** `eth_symbol`\n- **パラメータ:** なし\n- **戻り値:** ネイティブコインのシンボルを表す文字列。例: メインネットでは `\"ETH\"`\n\n仕様はこれがすべてです。作者は `eth_nativeCurrencySymbol` という名前も検討しましたが、`eth_` 名前空間と単一の戻り値で意味が明確になるため、短い名前を選びました。\n\n## サンプルコード\n\n仕様にある、生の JSON-RPC のリクエストとレスポンス:\n\n```bash\ncurl -X POST -H \"Content-Type: application/json\" \\\n  --data '{\"jsonrpc\":\"2.0\",\"method\":\"eth_symbol\",\"params\":[],\"id\":1}' \\\n  \"$RPC_URL\"\n```\n\n```json\n{ \"id\": 1, \"jsonrpc\": \"2.0\", \"result\": \"ETH\" }\n```\n\nethers v6 から呼び出す。ほとんどのノードは実装していないため、フォールバック付き:\n\n```ts\nimport { JsonRpcProvider } from \"ethers\";\n\nconst provider = new JsonRpcProvider(process.env.RPC_URL);\n\nasync function nativeSymbol(): Promise\u003cstring | undefined\u003e {\n  try {\n    return await provider.send(\"eth_symbol\", []);\n  } catch {\n    return undefined; // method not supported: use your own chain list\n  }\n}\n```\n\n## 知っておくべきこと\n\n- ステータスは **Stagnant** です。主要なクライアントは `eth_symbol` を実装していないため、これに依存しないでください。\n- この値の信頼性はノード次第です。悪意のある RPC は誤解を招くシンボルを報告し、ユーザーが扱っているコインについて騙す可能性があります。\n- 実際には、ウォレットはネイティブ通貨を、自前のチェーンリストや、`wallet_addEthereumChain`（[EIP-3085](/eip-3085/)）で渡される `nativeCurrency` フィールドから知ります。\n"},"ko":{"lang":"ko","tldr":"네이티브 코인의 티커(예: \"ETH\")를 반환하는 eth_symbol JSON-RPC 메서드를 제안했다. 멀티체인 지갑이 사용자에게 직접 입력하게 하지 않아도 된다.","tags":["json-rpc","wallet","interface","multichain"],"related":[695,3085,20],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-3014/","markdown":"## 어떤 문제를 해결하나요?\n\n많은 EVM 네트워크에 연결하는 지갑은 각 네트워크에 대한 기본 정보가 필요합니다. 체인 ID는 이미 `eth_chainId`([EIP-695](/eip-695/))로 노드에서 읽을 수 있지만, 네이티브 코인의 심볼은 읽을 수 없습니다. 사용자는 커뮤니티 목록에서 찾아 직접 입력해야 했습니다.\n\nERC-3014는 [ERC-20](/eip-20/) 토큰이 자기 `symbol()`을 보고하는 것처럼 노드가 이를 직접 보고하게 하자고 제안합니다.\n\n## 어떻게 동작하나요?\n\n새로운 읽기 전용 메서드:\n\n- **메서드:** `eth_symbol`\n- **파라미터:** 없음\n- **반환값:** 네이티브 코인의 심볼을 담은 문자열. 예: 메인넷에서는 `\"ETH\"`\n\n스펙은 이것이 전부입니다. 작성자는 `eth_nativeCurrencySymbol`이라는 이름도 고려했지만, `eth_` 네임스페이스와 단일 반환값만으로 의미가 분명하기 때문에 더 짧은 이름을 택했습니다.\n\n## 샘플 코드\n\n스펙에 나온 원시 JSON-RPC 요청과 응답:\n\n```bash\ncurl -X POST -H \"Content-Type: application/json\" \\\n  --data '{\"jsonrpc\":\"2.0\",\"method\":\"eth_symbol\",\"params\":[],\"id\":1}' \\\n  \"$RPC_URL\"\n```\n\n```json\n{ \"id\": 1, \"jsonrpc\": \"2.0\", \"result\": \"ETH\" }\n```\n\nethers v6에서 호출하기. 대부분의 노드가 구현하지 않으므로 폴백을 둡니다.\n\n```ts\nimport { JsonRpcProvider } from \"ethers\";\n\nconst provider = new JsonRpcProvider(process.env.RPC_URL);\n\nasync function nativeSymbol(): Promise\u003cstring | undefined\u003e {\n  try {\n    return await provider.send(\"eth_symbol\", []);\n  } catch {\n    return undefined; // method not supported: use your own chain list\n  }\n}\n```\n\n## 알아둘 점\n\n- 상태는 **Stagnant**입니다. 주요 클라이언트는 `eth_symbol`을 구현하지 않으므로 이에 의존하지 마세요.\n- 이 값은 노드만큼만 신뢰할 수 있습니다. 악의적인 RPC가 오해를 부르는 심볼을 보고해, 사용자가 어떤 코인을 다루는지 속일 수 있습니다.\n- 실제로 지갑은 자체 체인 목록이나 `wallet_addEthereumChain`([EIP-3085](/eip-3085/))으로 전달되는 `nativeCurrency` 필드에서 네이티브 통화를 알게 됩니다.\n"},"zh":{"lang":"zh","tldr":"提出了 eth_symbol JSON-RPC 方法，返回原生币的代码（例如 \"ETH\"），这样多链钱包就不需要用户手动输入。","tags":["json-rpc","wallet","interface","multichain"],"related":[695,3085,20],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-3014/","markdown":"## 它解决什么问题？\n\n连接多个 EVM 网络的钱包需要了解每个网络的一些基本信息。链 ID 已经可以通过 `eth_chainId`（[EIP-695](/eip-695/)）从节点读取，但原生币的符号却不能。用户只能在社区列表中查找并手动输入。\n\nERC-3014 提议让节点直接报告它，就像 [ERC-20](/eip-20/) 代币通过 `symbol()` 报告自己的符号一样。\n\n## 它如何运作\n\n一个新的只读方法：\n\n- **方法：** `eth_symbol`\n- **参数：** 无\n- **返回：** 包含原生币符号的字符串，例如主网上为 `\"ETH\"`\n\n这就是全部规范。作者曾考虑过 `eth_nativeCurrencySymbol` 这个名字，但最终选了更短的名字，因为 `eth_` 命名空间加上单一返回值已使含义足够清楚。\n\n## 示例代码\n\n规范中的原始 JSON-RPC 请求与响应：\n\n```bash\ncurl -X POST -H \"Content-Type: application/json\" \\\n  --data '{\"jsonrpc\":\"2.0\",\"method\":\"eth_symbol\",\"params\":[],\"id\":1}' \\\n  \"$RPC_URL\"\n```\n\n```json\n{ \"id\": 1, \"jsonrpc\": \"2.0\", \"result\": \"ETH\" }\n```\n\n在 ethers v6 中调用，并带有回退处理，因为大多数节点并未实现它：\n\n```ts\nimport { JsonRpcProvider } from \"ethers\";\n\nconst provider = new JsonRpcProvider(process.env.RPC_URL);\n\nasync function nativeSymbol(): Promise\u003cstring | undefined\u003e {\n  try {\n    return await provider.send(\"eth_symbol\", []);\n  } catch {\n    return undefined; // method not supported: use your own chain list\n  }\n}\n```\n\n## 需要注意\n\n- 状态为 **Stagnant**。主流客户端没有实现 `eth_symbol`，因此不要依赖它。\n- 该值的可信度取决于节点。恶意的 RPC 可能报告具有误导性的符号，让用户搞错自己正在处理的是哪种币。\n- 实际中，钱包通过自己的链列表，或通过 `wallet_addEthereumChain`（[EIP-3085](/eip-3085/)）提供的 `nativeCurrency` 字段来获知原生货币。\n"}}}
