# Ethereum Intent URI (EI-URI): A Universal Action URI format for Ethereum

**URL:** <https://community.metamask.com/t/ethereum-intent-uri-ei-uri-a-universal-action-uri-format-for-ethereum/30345>\
**Category:** Feature Requests\
**Created:** [April 15, 2025, 2:44am UTC](https://community.metamask.com/t/ethereum-intent-uri-ei-uri-a-universal-action-uri-format-for-ethereum/30345 "2025-04-15T02:44:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![frani](https://dub1.discourse-cdn.com/metamask/user_avatar/community.metamask.com/frani/32/38458_2.png) [@frani](https://community.metamask.com/u/frani)\
**Post date:** [April 15, 2025, 2:44am UTC](https://community.metamask.com/t/ethereum-intent-uri-ei-uri-a-universal-action-uri-format-for-ethereum/30345/1 "2025-04-15T02:44:40Z")

</div>

### **Description:**

Support parsing and handling of extended `ethereum:` URLs with RPC-style method calls, including optional chain identification and parameters, using the following syntax:

```txt
ethereum:<rpc_method>[:<chain_id>]?<rpc_method_params>

```

#### 📌 Example (single request):

```txt
ethereum:eth_sendTransaction:324?from=0x8082da67710c14e7f668efc73ac27ad6b2d7cafe&to=0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238&gas=0x76c0&gasPrice=0x4a817c800&value=0x0&data=0xa9059cbb000000000000000000000000ffce4d191cb5007ee9ad7226581f7e217b68cafe00000000000000000000000000000000000000000000000000000000000f4240636166656369746f

```

#### 📦 Example (multi-request, base64-encoded payload):

```txt
ethereum:multi-request:324?requests_b64=BASE64_ENCODED_JSON_ARRAY

```

This structure builds upon **EIP-681** and **EIP-4804** , enabling advanced capabilities such as batched transactions and chain-specific context in a URL or QR code format.

* * *

### **Purpose:**

To enhance MetaMask’s compatibility with modern wallet invocation flows via deep links and QR codes, and allow:

- ✅ Flexible, RPC-style invocation via URLs
- ✅ Embedded `chainId` for chain-aware requests
- ✅ Multi-request support with base64 payloads
- ✅ Seamless integration into physical-world interactions (e.g. POS, ticketing, dApps)
- ✅ Add a new chain to MetaMask dynamically, just by scanning a QR (e.g. via `wallet_addEthereumChain`)

This format would be especially useful in real-world Web3 applications, where users scan a single QR code to switch chains, approve multiple transactions, or interact with a contract directly.

* * *

### **Extension/Mobile/Both:**

**Both**  
(With significant utility in **mobile** use cases involving QR code scanning.)

---

_[View the full topic](https://community.metamask.com/t/ethereum-intent-uri-ei-uri-a-universal-action-uri-format-for-ethereum/30345)._
