{"eip":7845,"title":"Universal Orchestrator RPC","description":"A universal data model that an Orchestrator can understand to help fulfil a request for a solution from a wallet or any other system.","authors":["Kieran Goodary (@IAmKio)","Pillar Wallet (@pillarwallet)","Luke Wickens (@lbw33)","Rana Khoury (@RanaBug)"],"status":"Draft","type":"Standards Track","category":"ERC","created":"2024-11-07","discussionsTo":"https://ethereum-magicians.org/t/erc-7845-universal-orchestrator-rpc/21885","repo":"ERCs","label":"ERC-7845","officialUrl":"https://eips.ethereum.org/EIPS/eip-7845","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-7845.md","url":"https://eips.huatuo.xyz/eip-7845/","tldr":{"en":"A JSON-RPC data model a wallet can use to ask any Orchestrator for chain-abstracted solutions (\"send 5 USDC to Bob\") and get back ready-to-sign transactions, whatever chains the assets sit on.","ja":"ウォレットがあらゆるオーケストレーターに対してチェーン抽象化されたソリューション（「Bob に 5 USDC を送る」）を依頼し、資産がどのチェーンにあっても、署名可能な状態のトランザクションを受け取るために使える JSON-RPC データモデル。","ko":"지갑이 어떤 Orchestrator에게든 체인 추상화된 솔루션(\"Bob에게 5 USDC 보내기\")을 요청하고, 자산이 어느 체인에 있든 바로 서명할 수 있는 트랜잭션을 돌려받는 데 쓸 수 있는 JSON-RPC 데이터 모델.","zh":"一种 JSON-RPC 数据模型，钱包可以用它向任意 Orchestrator 请求链抽象的解决方案（\"向 Bob 发送 5 USDC\"），并得到可直接签名的交易，无论资产位于哪些链上。"},"tags":["json-rpc","wallets","chain-abstraction","intents"],"explainers":{"en":{"lang":"en","tldr":"A JSON-RPC data model a wallet can use to ask any Orchestrator for chain-abstracted solutions (\"send 5 USDC to Bob\") and get back ready-to-sign transactions, whatever chains the assets sit on.","tags":["json-rpc","wallets","chain-abstraction","intents"],"related":[7683,5792,20],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-7845/","markdown":"## What problem does it solve?\n\nThe proposal imagines users saying things like \"swap my tokens for USDC\" or \"send 10 OP to Alice\" to a wallet, app, voice assistant or AI agent, and an **Orchestrator** service working out which transactions, on which chains, achieve it. As such orchestrators multiply, each one would otherwise invent its own request format, and wallets would need a custom integration for every one.\n\nERC-7845 standardizes the minimum shape of the request a wallet sends and the response it gets back. It does not standardize how an Orchestrator computes its answer.\n\n## How it works\n\nRequests and responses use the Ethereum JSON-RPC envelope (`id`, `jsonrpc`, `method`). The suggested method name is `orchestrator_findSolutions`.\n\n**Request**: `params` holds one or more **Problems**. A Problem has an optional `chainId` (defaults to 1) and a list of **Actions**:\n\n| Action field | Meaning |\n| --- | --- |\n| `from` (required) | The wallet address the action is for |\n| `towards` (required) | Targets: an **Asset** (`symbol` / `address` / `chainId`, all optional) or a **Destination** (`address` + `chainId`, used verbatim) |\n| `with` | **Offerings** the wallet will spend (`symbol`, `address`, `amount`, `chainId`); if empty, the Orchestrator may consider all assets |\n| `type` | e.g. `transfer`, `swap`, `call`; defaults to `transfer` |\n| `functionCallName` / `functionCallData` | Optional contract call |\n| `deadline` | Unix timestamp by which a solution is wanted |\n\nEverything is **chain-abstracted by default**: if no `chainId` is given for an asset, the Orchestrator may use that asset on any chain.\n\n**Response**: `result` is a list of **Solutions**, in the same order as the Problems. Each has a user-friendly `name`, optional `description` and `deadline`, and a list of transactions (`to`, `chainId`, `amount`, optional `calldata`) for the wallet to sign and send. Gas estimation is left to the wallet.\n\n## Sample code\n\nA request and response modeled on the spec's \"send 5 USDC\" example (addresses are placeholders):\n\n```json\n{\n  \"id\": 1234,\n  \"jsonrpc\": \"2.0\",\n  \"method\": \"orchestrator_findSolutions\",\n  \"params\": [\n    {\n      \"actions\": [\n        {\n          \"from\": \"0x1111111111111111111111111111111111111111\",\n          \"towards\": [{ \"address\": \"0x2222222222222222222222222222222222222222\", \"chainId\": 10 }],\n          \"with\": [{ \"symbol\": \"USDC\", \"amount\": 5 }]\n        }\n      ]\n    }\n  ]\n}\n```\n\n```json\n{\n  \"id\": \"1234\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": [\n    {\n      \"name\": \"Send 5 USDC\",\n      \"description\": \"Send 5 USDC to 0x2222...2222 on OP Mainnet\",\n      \"transactions\": [\n        { \"to\": { \"address\": \"0x3333333333333333333333333333333333333333\", \"chainId\": 10 }, \"chainId\": 10, \"amount\": 0, \"calldata\": \"0xa9059cbb...\" }\n      ]\n    }\n  ]\n}\n```\n\n## Things to know\n\n- **Status: Draft.** The text is not yet internally consistent: the interfaces define `params` as an array of Problems and `towards` as an array, while the spec's own examples wrap them in `{ \"problems\": [...] }`, use a single `towards` object, and use `value` and a string `to` in transactions where the interface says `amount` and a `Destination`. Expect changes, and agree on the exact shape with your Orchestrator.\n- Treat solutions as untrusted. An Orchestrator can return wrong or malicious transactions; wallets should simulate them and check destinations and amounts before signing.\n- Orchestrators may favor their own business interests, and some may be unmaintained; the spec leaves reputation decisions to the wallet.\n- For on-chain, solver-side standardization of cross-chain orders, see [ERC-7683](/eip-7683/).\n"},"ja":{"lang":"ja","tldr":"ウォレットがあらゆるオーケストレーターに対してチェーン抽象化されたソリューション（「Bob に 5 USDC を送る」）を依頼し、資産がどのチェーンにあっても、署名可能な状態のトランザクションを受け取るために使える JSON-RPC データモデル。","tags":["json-rpc","wallets","chain-abstraction","intents"],"related":[7683,5792,20],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-7845/","markdown":"## 何を解決するのか\n\nこの提案が想定しているのは、ユーザーがウォレット、アプリ、音声アシスタント、AI エージェントに対して「トークンを USDC にスワップして」や「Alice に 10 OP を送って」と伝え、**オーケストレーター**サービスが、どのチェーンでどのトランザクションを実行すればそれを実現できるかを割り出す世界です。こうしたオーケストレーターが増えると、それぞれが独自のリクエスト形式を作り出し、ウォレットは 1 つ 1 つに対して独自の連携を実装する必要が出てきます。\n\nERC-7845 は、ウォレットが送るリクエストと、返ってくるレスポンスの最小限の形を標準化します。オーケストレーターが答えをどう計算するかは標準化しません。\n\n## 仕組み\n\nリクエストとレスポンスは、Ethereum JSON-RPC のエンベロープ（`id`、`jsonrpc`、`method`）を使います。推奨されるメソッド名は `orchestrator_findSolutions` です。\n\n**リクエスト**: `params` には 1 つ以上の **Problem** が入ります。Problem は、任意の `chainId`（デフォルトは 1）と **Action** のリストを持ちます。\n\n| Action のフィールド | 意味 |\n| --- | --- |\n| `from`（必須） | アクションの対象となるウォレットアドレス |\n| `towards`（必須） | 目標: **Asset**（`symbol` / `address` / `chainId`、いずれも任意）または **Destination**（`address` + `chainId`、そのまま使用される） |\n| `with` | ウォレットが使う **Offerings**（`symbol`、`address`、`amount`、`chainId`）。空の場合、オーケストレーターはすべての資産を検討してよい |\n| `type` | 例: `transfer`、`swap`、`call`。デフォルトは `transfer` |\n| `functionCallName` / `functionCallData` | 任意のコントラクト呼び出し |\n| `deadline` | ソリューションが必要な期限を示す Unix タイムスタンプ |\n\nすべてはデフォルトで**チェーン抽象化**されています。資産に `chainId` が指定されていなければ、オーケストレーターはその資産をどのチェーンで使ってもかまいません。\n\n**レスポンス**: `result` は **Solution** のリストで、Problem と同じ順序です。各 Solution は、ユーザーにわかりやすい `name`、任意の `description` と `deadline`、そしてウォレットが署名して送信するトランザクションのリスト（`to`、`chainId`、`amount`、任意の `calldata`）を持ちます。gas の見積もりはウォレットに委ねられています。\n\n## サンプルコード\n\n仕様の「5 USDC を送る」の例に基づくリクエストとレスポンス（アドレスはプレースホルダー）:\n\n```json\n{\n  \"id\": 1234,\n  \"jsonrpc\": \"2.0\",\n  \"method\": \"orchestrator_findSolutions\",\n  \"params\": [\n    {\n      \"actions\": [\n        {\n          \"from\": \"0x1111111111111111111111111111111111111111\",\n          \"towards\": [{ \"address\": \"0x2222222222222222222222222222222222222222\", \"chainId\": 10 }],\n          \"with\": [{ \"symbol\": \"USDC\", \"amount\": 5 }]\n        }\n      ]\n    }\n  ]\n}\n```\n\n```json\n{\n  \"id\": \"1234\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": [\n    {\n      \"name\": \"Send 5 USDC\",\n      \"description\": \"Send 5 USDC to 0x2222...2222 on OP Mainnet\",\n      \"transactions\": [\n        { \"to\": { \"address\": \"0x3333333333333333333333333333333333333333\", \"chainId\": 10 }, \"chainId\": 10, \"amount\": 0, \"calldata\": \"0xa9059cbb...\" }\n      ]\n    }\n  ]\n}\n```\n\n## 知っておくべきこと\n\n- **ステータス: Draft。** テキストはまだ内部的に一貫していません。インターフェースでは `params` を Problem の配列、`towards` を配列と定義していますが、仕様自身の例では `{ \"problems\": [...] }` で包み、`towards` は単一のオブジェクトで、トランザクションではインターフェースが `amount` と `Destination` としている箇所に `value` と文字列の `to` を使っています。変更を見込み、正確な形はオーケストレーターと合意してください。\n- ソリューションは信頼できないものとして扱ってください。オーケストレーターは誤った、または悪意あるトランザクションを返す可能性があります。ウォレットは署名前にそれらをシミュレートし、宛先と金額を確認すべきです。\n- オーケストレーターは自社の事業上の利益を優先することがあり、保守されていないものもあるかもしれません。仕様は、レピュテーションの判断をウォレットに委ねています。\n- クロスチェーンのオーダーのオンチェーンかつソルバー側の標準化については、[ERC-7683](/eip-7683/) を参照してください。\n"},"ko":{"lang":"ko","tldr":"지갑이 어떤 Orchestrator에게든 체인 추상화된 솔루션(\"Bob에게 5 USDC 보내기\")을 요청하고, 자산이 어느 체인에 있든 바로 서명할 수 있는 트랜잭션을 돌려받는 데 쓸 수 있는 JSON-RPC 데이터 모델.","tags":["json-rpc","wallets","chain-abstraction","intents"],"related":[7683,5792,20],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-7845/","markdown":"## 어떤 문제를 해결하나요?\n\n이 제안은 사용자가 지갑, 앱, 음성 비서, AI 에이전트에게 \"내 토큰을 USDC로 바꿔 줘\"나 \"Alice에게 10 OP 보내 줘\" 같은 말을 하고, **Orchestrator** 서비스가 어떤 체인에서 어떤 트랜잭션을 실행해야 그것이 이루어지는지 알아내는 상황을 상정합니다. 이런 orchestrator가 늘어나면 각자 요청 형식을 따로 만들어내고, 지갑은 하나하나마다 맞춤 연동을 해야 합니다.\n\nERC-7845는 지갑이 보내는 요청과 돌려받는 응답의 최소한의 형태를 표준화합니다. Orchestrator가 답을 어떻게 계산하는지는 표준화하지 않습니다.\n\n## 어떻게 동작하나요?\n\n요청과 응답은 이더리움 JSON-RPC 봉투(`id`, `jsonrpc`, `method`)를 사용합니다. 권장 메서드 이름은 `orchestrator_findSolutions`입니다.\n\n**요청**: `params`에는 하나 이상의 **Problem**이 들어갑니다. Problem에는 선택적인 `chainId`(기본값 1)와 **Action** 목록이 있습니다.\n\n| Action 필드 | 의미 |\n| --- | --- |\n| `from`(필수) | 해당 액션의 대상 지갑 주소 |\n| `towards`(필수) | 목표: **Asset**(`symbol` / `address` / `chainId`, 모두 선택) 또는 **Destination**(`address` + `chainId`, 그대로 사용됨) |\n| `with` | 지갑이 사용할 **Offerings**(`symbol`, `address`, `amount`, `chainId`). 비어 있으면 Orchestrator가 모든 자산을 고려할 수 있음 |\n| `type` | 예: `transfer`, `swap`, `call`. 기본값은 `transfer` |\n| `functionCallName` / `functionCallData` | 선택적인 컨트랙트 호출 |\n| `deadline` | 솔루션이 필요한 시점을 나타내는 Unix 타임스탬프 |\n\n모든 것은 기본적으로 **체인 추상화**되어 있습니다. 자산에 `chainId`가 주어지지 않으면 Orchestrator는 그 자산을 어느 체인에서든 사용할 수 있습니다.\n\n**응답**: `result`는 **Solution** 목록이며 Problem과 같은 순서입니다. 각 Solution에는 사용자 친화적인 `name`, 선택적인 `description`과 `deadline`, 그리고 지갑이 서명해 보낼 트랜잭션 목록(`to`, `chainId`, `amount`, 선택적인 `calldata`)이 있습니다. gas 추정은 지갑에 맡깁니다.\n\n## 샘플 코드\n\n스펙의 \"5 USDC 보내기\" 예시를 본뜬 요청과 응답(주소는 자리표시자):\n\n```json\n{\n  \"id\": 1234,\n  \"jsonrpc\": \"2.0\",\n  \"method\": \"orchestrator_findSolutions\",\n  \"params\": [\n    {\n      \"actions\": [\n        {\n          \"from\": \"0x1111111111111111111111111111111111111111\",\n          \"towards\": [{ \"address\": \"0x2222222222222222222222222222222222222222\", \"chainId\": 10 }],\n          \"with\": [{ \"symbol\": \"USDC\", \"amount\": 5 }]\n        }\n      ]\n    }\n  ]\n}\n```\n\n```json\n{\n  \"id\": \"1234\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": [\n    {\n      \"name\": \"Send 5 USDC\",\n      \"description\": \"Send 5 USDC to 0x2222...2222 on OP Mainnet\",\n      \"transactions\": [\n        { \"to\": { \"address\": \"0x3333333333333333333333333333333333333333\", \"chainId\": 10 }, \"chainId\": 10, \"amount\": 0, \"calldata\": \"0xa9059cbb...\" }\n      ]\n    }\n  ]\n}\n```\n\n## 알아둘 점\n\n- **상태: Draft.** 문서가 아직 내부적으로 일관되지 않습니다. 인터페이스는 `params`를 Problem 배열로, `towards`를 배열로 정의하지만, 스펙 자체의 예시는 `{ \"problems\": [...] }`로 감싸고 `towards`는 단일 객체이며, 트랜잭션에서는 인터페이스가 `amount`와 `Destination`이라고 한 곳에 `value`와 문자열 `to`를 씁니다. 변경을 예상하고, 정확한 형태는 사용하는 Orchestrator와 합의하세요.\n- 솔루션은 신뢰할 수 없는 것으로 취급하세요. Orchestrator는 잘못되었거나 악의적인 트랜잭션을 반환할 수 있습니다. 지갑은 서명 전에 이를 시뮬레이션하고 목적지와 금액을 확인해야 합니다.\n- Orchestrator는 자기 사업상의 이익을 우선할 수 있고, 일부는 유지보수되지 않을 수도 있습니다. 스펙은 평판에 대한 판단을 지갑에 맡깁니다.\n- 크로스체인 주문의 온체인 솔버 측 표준화는 [ERC-7683](/eip-7683/)을 참고하세요.\n"},"zh":{"lang":"zh","tldr":"一种 JSON-RPC 数据模型，钱包可以用它向任意 Orchestrator 请求链抽象的解决方案（\"向 Bob 发送 5 USDC\"），并得到可直接签名的交易，无论资产位于哪些链上。","tags":["json-rpc","wallets","chain-abstraction","intents"],"related":[7683,5792,20],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-7845/","markdown":"## 它解决什么问题？\n\n该提案设想用户对钱包、应用、语音助手或 AI 代理说\"把我的代币兑换成 USDC\"或\"给 Alice 发 10 OP\"这样的话，然后由一个 **Orchestrator** 服务算出需要在哪些链上执行哪些交易才能实现。随着这类 orchestrator 增多，每个都会各自发明请求格式，钱包就得为每一个做定制集成。\n\nERC-7845 标准化了钱包发送的请求和收到的响应的最小结构。它并不标准化 Orchestrator 如何计算答案。\n\n## 它如何运作\n\n请求和响应使用以太坊 JSON-RPC 信封（`id`、`jsonrpc`、`method`）。建议的方法名是 `orchestrator_findSolutions`。\n\n**请求**：`params` 包含一个或多个 **Problem**。一个 Problem 有可选的 `chainId`（默认为 1）和一个 **Action** 列表：\n\n| Action 字段 | 含义 |\n| --- | --- |\n| `from`（必填） | 该操作所属的钱包地址 |\n| `towards`（必填） | 目标：一个 **Asset**（`symbol` / `address` / `chainId`，均可选）或一个 **Destination**（`address` + `chainId`，原样使用） |\n| `with` | 钱包将花费的 **Offerings**（`symbol`、`address`、`amount`、`chainId`）；如果为空，Orchestrator 可以考虑所有资产 |\n| `type` | 例如 `transfer`、`swap`、`call`；默认为 `transfer` |\n| `functionCallName` / `functionCallData` | 可选的合约调用 |\n| `deadline` | 希望得到方案的 Unix 时间戳 |\n\n一切默认都是**链抽象**的：如果没有为某个资产指定 `chainId`，Orchestrator 可以使用任意链上的该资产。\n\n**响应**：`result` 是一个 **Solution** 列表，顺序与 Problem 相同。每个 Solution 都有一个用户友好的 `name`、可选的 `description` 和 `deadline`，以及一个交易列表（`to`、`chainId`、`amount`、可选的 `calldata`），供钱包签名并发送。gas 估算留给钱包处理。\n\n## 示例代码\n\n参照规范中\"发送 5 USDC\"的例子编写的请求和响应（地址为占位符）：\n\n```json\n{\n  \"id\": 1234,\n  \"jsonrpc\": \"2.0\",\n  \"method\": \"orchestrator_findSolutions\",\n  \"params\": [\n    {\n      \"actions\": [\n        {\n          \"from\": \"0x1111111111111111111111111111111111111111\",\n          \"towards\": [{ \"address\": \"0x2222222222222222222222222222222222222222\", \"chainId\": 10 }],\n          \"with\": [{ \"symbol\": \"USDC\", \"amount\": 5 }]\n        }\n      ]\n    }\n  ]\n}\n```\n\n```json\n{\n  \"id\": \"1234\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": [\n    {\n      \"name\": \"Send 5 USDC\",\n      \"description\": \"Send 5 USDC to 0x2222...2222 on OP Mainnet\",\n      \"transactions\": [\n        { \"to\": { \"address\": \"0x3333333333333333333333333333333333333333\", \"chainId\": 10 }, \"chainId\": 10, \"amount\": 0, \"calldata\": \"0xa9059cbb...\" }\n      ]\n    }\n  ]\n}\n```\n\n## 需要注意\n\n- **状态：Draft。** 文本内部尚未保持一致：接口把 `params` 定义为 Problem 数组、`towards` 定义为数组，而规范自己的示例却把它们包在 `{ \"problems\": [...] }` 里，`towards` 用单个对象，交易中则使用 `value` 和字符串类型的 `to`，而接口中写的是 `amount` 和 `Destination`。请预期会有变化，并与你的 Orchestrator 就确切的结构达成一致。\n- 请把解决方案视为不可信的。Orchestrator 可能返回错误或恶意的交易；钱包应在签名前对其进行模拟，并检查目的地和金额。\n- Orchestrator 可能偏向自身的商业利益，有些也可能无人维护；规范把声誉方面的决定留给钱包。\n- 关于跨链订单在链上、solver 侧的标准化，请参见 [ERC-7683](/eip-7683/)。\n"}}}
