{"eip":67,"title":"URI Scheme with Metadata, Value and Bytecode","description":"Format for encoding transactions into a URI","authors":["Alex Van de Sande (@alexvansande)"],"status":"Withdrawn","type":"Standards Track","category":"ERC","created":"2016-02-17","discussionsTo":"https://github.com/ethereum/EIPs/issues/67","repo":"ERCs","label":"ERC-67","officialUrl":"https://eips.ethereum.org/EIPS/eip-67","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-67.md","url":"https://eips.huatuo.xyz/eip-67/","tldr":{"en":"An early, withdrawn format for packing an Ethereum transaction (recipient, value, gas and bytecode) into an ethereum: URI for QR codes and links, later replaced by ERC-681.","ja":"QR コードやリンク向けに、Ethereum トランザクション（宛先、金額、ガス、バイトコード）を ethereum: URI にまとめる初期の撤回済みフォーマット。のちに ERC-681 に置き換えられた。","ko":"QR 코드와 링크에 쓰려고 이더리움 트랜잭션(수신자, 금액, 가스, 바이트코드)을 ethereum: URI에 담던 초기의 철회된 형식. 이후 ERC-681로 대체되었다.","zh":"一种早期且已撤回的格式，把以太坊交易（收款方、金额、gas 和字节码）打包进 ethereum: URI，用于二维码和链接，后来被 ERC-681 取代。"},"tags":["uri","qr-code","payments","wallet","withdrawn"],"explainers":{"en":{"lang":"en","tldr":"An early, withdrawn format for packing an Ethereum transaction (recipient, value, gas and bytecode) into an ethereum: URI for QR codes and links, later replaced by ERC-681.","tags":["uri","qr-code","payments","wallet","withdrawn"],"related":[681,831],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-67/","markdown":"## What problem does it solve?\n\nIn 2016 there was no standard way to say \"please send this transaction\" outside a wallet. A shop that wanted 12.34 ETH for an order, or a dapp that wanted the user to call a contract function, had to build its own workaround. The spec describes one: exchanges created large numbers of temporary deposit addresses just to tell which payment belonged to which customer.\n\nBitcoin had already solved this with BIP 21 `bitcoin:` URIs. EIP-67 proposed the same idea for Ethereum and went further. The URI could carry contract-call data as well as an address and an amount. A wallet that scanned the QR code or opened the link would pre-fill the whole transaction, and the user would only pick an account and approve.\n\n## How it works\n\nThe basic shape follows BIP 21:\n\n```\nethereum:\u003caddress\u003e[?value=\u003cvalue\u003e][?gas=\u003csuggestedGas\u003e][?data=\u003cbytecode\u003e]\n```\n\n- `address`: the recipient or contract.\n- `value`: how much ether to send. It may be zero.\n- `gas`: a suggested gas limit.\n- `data`: raw calldata to include in the transaction.\n\nThe spec also sketches a human-readable alternative. Instead of raw `data`, the URI names a function, such as `function=transfer(address 0x..., uint 5)`, and the wallet encodes the calldata itself.\n\nThe spec deliberately leaves out free-text `label` or `message` fields. It argues that such information should come from an identity system or the chain, not from the link.\n\n## Sample code\n\nA token transfer as raw calldata (`0xa9059cbb` is the `transfer(address,uint256)` selector), adapted from the spec:\n\n```text\nethereum:0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7?gas=100000\u0026data=0xa9059cbb00000000000000000000000000000000000000000000000000000000deadbeef0000000000000000000000000000000000000000000000000000000000000005\n```\n\nThe same request in the readable form:\n\n```text\nethereum:0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7?gas=100000\u0026function=transfer(address 0xdeadbeef, uint 5)\n```\n\nFor new code, use the [ERC-681](/eip-681/) syntax instead:\n\n```text\nethereum:0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7/transfer?address=0x8e23Ee67d1332aD560396262C48ffbB01f93d052\u0026uint256=1\n```\n\n## Things to know\n\n- **This proposal is Withdrawn. It was superseded by [ERC-681](/eip-681/)**, which defines `ethereum:` payment and call requests with proper value units, chain IDs and typed function parameters.\n- [ERC-831](/eip-831/) later defined the general `ethereum:` URI container and kept EIP-67 links valid as the default `pay-` case. A URI that starts directly with `0x` is therefore still read as a payment request.\n- The spec's own syntax is a little inconsistent: it shows `?` before every parameter, while its examples correctly use `\u0026` after the first one.\n- The Rationale and Security Considerations sections were never written. Wallets should still show a decoded summary of any URI-driven transaction before the user signs.\n"},"ja":{"lang":"ja","tldr":"QR コードやリンク向けに、Ethereum トランザクション（宛先、金額、ガス、バイトコード）を ethereum: URI にまとめる初期の撤回済みフォーマット。のちに ERC-681 に置き換えられた。","tags":["uri","qr-code","payments","wallet","withdrawn"],"related":[681,831],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-67/","markdown":"## 何を解決するのか\n\n2016 年当時、ウォレットの外で「このトランザクションを送ってください」と伝える標準的な方法はありませんでした。注文に対して 12.34 ETH を請求したいお店や、ユーザーにコントラクト関数を呼び出してほしい dapp は、それぞれ独自の回避策を作る必要がありました。仕様書にはその一例が書かれています。取引所はどの入金がどの顧客のものかを区別するためだけに、大量の一時的な入金アドレスを作っていました。\n\nBitcoin は BIP 21 の `bitcoin:` URI でこの問題をすでに解決していました。EIP-67 は同じ考え方を Ethereum に持ち込み、さらに一歩進めました。URI にアドレスと金額だけでなく、コントラクト呼び出しのデータも載せられるようにしたのです。QR コードをスキャンしたりリンクを開いたりしたウォレットはトランザクション全体を事前入力し、ユーザーはアカウントを選んで承認するだけで済みます。\n\n## 仕組み\n\n基本的な形は BIP 21 に従います。\n\n```\nethereum:\u003caddress\u003e[?value=\u003cvalue\u003e][?gas=\u003csuggestedGas\u003e][?data=\u003cbytecode\u003e]\n```\n\n- `address`: 宛先またはコントラクト。\n- `value`: 送る ether の量。0 でもかまいません。\n- `gas`: 推奨のガスリミット。\n- `data`: トランザクションに含める生の calldata。\n\n仕様書には、人が読める代替形式の案もあります。生の `data` の代わりに、URI が `function=transfer(address 0x..., uint 5)` のように関数を指定し、ウォレット側で calldata をエンコードします。\n\n仕様書は、自由記述の `label` や `message` フィールドを意図的に含めていません。そうした情報はリンクではなく、アイデンティティの仕組みやチェーンから得るべきだと主張しています。\n\n## サンプルコード\n\n生の calldata によるトークン送金（`0xa9059cbb` は `transfer(address,uint256)` のセレクターです）。仕様書の例を基にしています。\n\n```text\nethereum:0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7?gas=100000\u0026data=0xa9059cbb00000000000000000000000000000000000000000000000000000000deadbeef0000000000000000000000000000000000000000000000000000000000000005\n```\n\n同じリクエストを読みやすい形式で書くと次のとおりです。\n\n```text\nethereum:0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7?gas=100000\u0026function=transfer(address 0xdeadbeef, uint 5)\n```\n\n新しいコードでは、代わりに [ERC-681](/eip-681/) の構文を使ってください。\n\n```text\nethereum:0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7/transfer?address=0x8e23Ee67d1332aD560396262C48ffbB01f93d052\u0026uint256=1\n```\n\n## 知っておくべきこと\n\n- **この提案は Withdrawn（撤回済み）です。[ERC-681](/eip-681/) に置き換えられました。** ERC-681 は、適切な金額の単位、チェーン ID、型付きの関数パラメーターを備えた `ethereum:` の支払い・呼び出しリクエストを定義しています。\n- その後 [ERC-831](/eip-831/) が汎用的な `ethereum:` URI のコンテナを定義し、EIP-67 のリンクをデフォルトの `pay-` ケースとして有効なまま残しました。そのため、`0x` で直接始まる URI は今でも支払いリクエストとして解釈されます。\n- 仕様書自身の構文には少し不整合があります。すべてのパラメーターの前に `?` を示していますが、例では最初のパラメーター以降に正しく `\u0026` を使っています。\n- Rationale と Security Considerations のセクションは書かれないままでした。それでも、ウォレットは URI 経由のトランザクションについて、ユーザーが署名する前にデコードした内容の要約を表示すべきです。\n"},"ko":{"lang":"ko","tldr":"QR 코드와 링크에 쓰려고 이더리움 트랜잭션(수신자, 금액, 가스, 바이트코드)을 ethereum: URI에 담던 초기의 철회된 형식. 이후 ERC-681로 대체되었다.","tags":["uri","qr-code","payments","wallet","withdrawn"],"related":[681,831],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-67/","markdown":"## 어떤 문제를 해결하나요?\n\n2016년에는 지갑 밖에서 \"이 트랜잭션을 보내 주세요\"라고 전달하는 표준 방법이 없었습니다. 주문에 대해 12.34 ETH를 받고 싶은 상점이나 사용자가 컨트랙트 함수를 호출하길 원하는 dapp은 각자 우회 방법을 만들어야 했습니다. 명세에도 그런 예가 나옵니다. 거래소는 어떤 입금이 어느 고객의 것인지 구분하려고 임시 입금 주소를 대량으로 만들었습니다.\n\n비트코인은 BIP 21의 `bitcoin:` URI로 이미 이 문제를 해결했습니다. EIP-67은 같은 아이디어를 이더리움에 적용하면서 한 걸음 더 나아갔습니다. URI에 주소와 금액뿐 아니라 컨트랙트 호출 데이터도 담을 수 있게 한 것입니다. QR 코드를 스캔하거나 링크를 연 지갑은 트랜잭션 전체를 미리 채워 두고, 사용자는 계정을 고르고 승인하기만 하면 됩니다.\n\n## 어떻게 동작하나요?\n\n기본 형태는 BIP 21을 따릅니다.\n\n```\nethereum:\u003caddress\u003e[?value=\u003cvalue\u003e][?gas=\u003csuggestedGas\u003e][?data=\u003cbytecode\u003e]\n```\n\n- `address`: 수신자 또는 컨트랙트.\n- `value`: 보낼 ether의 양. 0일 수도 있습니다.\n- `gas`: 권장 가스 한도.\n- `data`: 트랜잭션에 포함할 원시 calldata.\n\n명세는 사람이 읽을 수 있는 대안 형식도 간단히 제시합니다. 원시 `data` 대신 URI가 `function=transfer(address 0x..., uint 5)`처럼 함수를 지정하면, 지갑이 직접 calldata를 인코딩합니다.\n\n명세는 자유 형식의 `label`이나 `message` 필드를 의도적으로 뺐습니다. 이런 정보는 링크가 아니라 신원 시스템이나 체인에서 가져와야 한다는 입장입니다.\n\n## 샘플 코드\n\n원시 calldata로 표현한 토큰 전송입니다(`0xa9059cbb`는 `transfer(address,uint256)`의 셀렉터). 명세의 예시를 바탕으로 했습니다.\n\n```text\nethereum:0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7?gas=100000\u0026data=0xa9059cbb00000000000000000000000000000000000000000000000000000000deadbeef0000000000000000000000000000000000000000000000000000000000000005\n```\n\n같은 요청을 읽기 쉬운 형식으로 쓰면 다음과 같습니다.\n\n```text\nethereum:0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7?gas=100000\u0026function=transfer(address 0xdeadbeef, uint 5)\n```\n\n새 코드에서는 대신 [ERC-681](/eip-681/) 문법을 사용하세요.\n\n```text\nethereum:0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7/transfer?address=0x8e23Ee67d1332aD560396262C48ffbB01f93d052\u0026uint256=1\n```\n\n## 알아둘 점\n\n- **이 제안은 Withdrawn(철회) 상태입니다. [ERC-681](/eip-681/)로 대체되었습니다.** ERC-681은 적절한 금액 단위, 체인 ID, 타입이 있는 함수 매개변수를 갖춘 `ethereum:` 결제 및 호출 요청을 정의합니다.\n- 이후 [ERC-831](/eip-831/)이 범용 `ethereum:` URI 컨테이너를 정의하면서 EIP-67 링크를 기본 `pay-` 경우로 계속 유효하게 두었습니다. 따라서 `0x`로 바로 시작하는 URI는 지금도 결제 요청으로 해석됩니다.\n- 명세 자체의 문법에는 약간의 불일치가 있습니다. 모든 매개변수 앞에 `?`를 표시하지만, 예시에서는 첫 번째 매개변수 뒤에 올바르게 `\u0026`를 씁니다.\n- Rationale과 Security Considerations 섹션은 끝내 작성되지 않았습니다. 그래도 지갑은 URI로 시작된 트랜잭션에 대해 사용자가 서명하기 전에 디코딩한 요약을 보여 줘야 합니다.\n"},"zh":{"lang":"zh","tldr":"一种早期且已撤回的格式，把以太坊交易（收款方、金额、gas 和字节码）打包进 ethereum: URI，用于二维码和链接，后来被 ERC-681 取代。","tags":["uri","qr-code","payments","wallet","withdrawn"],"related":[681,831],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-67/","markdown":"## 它解决什么问题？\n\n2016 年时，在钱包之外并没有标准方式来表达\"请发送这笔交易\"。想为订单收取 12.34 ETH 的商店，或希望用户调用某个合约函数的 dapp，都得自己想办法绕过去。规范里就描述了一种：交易所为了区分哪笔付款属于哪位客户，创建了大量临时充值地址。\n\n比特币已经用 BIP 21 的 `bitcoin:` URI 解决了这个问题。EIP-67 把同样的想法引入以太坊，并更进一步：URI 除了地址和金额，还可以携带合约调用数据。扫描二维码或打开链接的钱包会预填整笔交易，用户只需选择账户并确认。\n\n## 它如何运作\n\n基本格式沿用 BIP 21：\n\n```\nethereum:\u003caddress\u003e[?value=\u003cvalue\u003e][?gas=\u003csuggestedGas\u003e][?data=\u003cbytecode\u003e]\n```\n\n- `address`：收款方或合约。\n- `value`：要发送的 ether 数量，可以为零。\n- `gas`：建议的 gas 上限。\n- `data`：要包含在交易中的原始 calldata。\n\n规范还勾勒了一种便于阅读的替代写法：URI 不再使用原始 `data`，而是指明函数名，例如 `function=transfer(address 0x..., uint 5)`，由钱包自行编码 calldata。\n\n规范有意不包含自由文本的 `label` 或 `message` 字段。它认为这类信息应该来自身份系统或链上，而不是来自链接。\n\n## 示例代码\n\n以原始 calldata 表示的代币转账（`0xa9059cbb` 是 `transfer(address,uint256)` 的选择器），改编自规范：\n\n```text\nethereum:0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7?gas=100000\u0026data=0xa9059cbb00000000000000000000000000000000000000000000000000000000deadbeef0000000000000000000000000000000000000000000000000000000000000005\n```\n\n同一个请求的可读写法：\n\n```text\nethereum:0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7?gas=100000\u0026function=transfer(address 0xdeadbeef, uint 5)\n```\n\n新代码请改用 [ERC-681](/eip-681/) 的语法：\n\n```text\nethereum:0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7/transfer?address=0x8e23Ee67d1332aD560396262C48ffbB01f93d052\u0026uint256=1\n```\n\n## 需要注意\n\n- **该提案已被撤回（Withdrawn），由 [ERC-681](/eip-681/) 取代。** ERC-681 定义了 `ethereum:` 支付和调用请求，带有规范的金额单位、链 ID 和带类型的函数参数。\n- [ERC-831](/eip-831/) 后来定义了通用的 `ethereum:` URI 容器，并把 EIP-67 的链接保留为默认的 `pay-` 情形继续有效。因此，直接以 `0x` 开头的 URI 仍会被视为支付请求。\n- 规范自身的语法有些不一致：它在每个参数前都写了 `?`，而示例中第一个参数之后正确地使用了 `\u0026`。\n- Rationale 和 Security Considerations 两节从未写成。即便如此，钱包在用户签名之前，仍应展示由 URI 触发的任何交易的解码摘要。\n"}},"requiredBy":[831]}
