diff --git a/EIPS/eip-5792.md b/EIPS/eip-5792.md index 8cb70ca98b8bf2..b4ae8c77006b3e 100644 --- a/EIPS/eip-5792.md +++ b/EIPS/eip-5792.md @@ -62,9 +62,18 @@ The wallet: * MAY reject the request if one or more calls in the batch is expected to fail, when simulated sequentially * MUST reject the request if it contains a `capability` (either top-level or call-level) that is not supported by the wallet and the `capability` is not explicitly marked as optional. * Applications may mark a capability as optional by setting `optional` to `true`. See the RPC Specification section below for details. -* If provided, the wallet MUST respect the `id` field and return it in the response. - * App-provided `id`s MUST be unique per sender per app, where each "app" SHOULD be identified by their domain. - * Wallets MUST reject requests with duplicate `id`s. + +If provided, the wallet MUST respect the `id` field and return it in the response. + +Identifiers, whether provided by the app or generated by the wallet, MUST be a unique string up to 4096 bytes (8194 characters including leading `0x`). + +App-provided `id`s MUST be unique per sender per app, where each "app" SHOULD be identified by their domain. + +Wallets MUST reject requests with duplicate `id`s. + +Within 24 hours from the corresponding `wallet_sendCalls`, wallets SHOULD return a call-batch status when `wallet_getCallsStatus` is called with the same `id`. + +The `capabilities` response object allows the wallets to attach a capability-specific metadata to the response. #### `wallet_sendCalls` RPC Specification @@ -129,14 +138,6 @@ Note that since the `paymasterService` `capability` is marked as optional, walle ##### `wallet_sendCalls` Example Return Value -If the `id` field was provided by the app, the wallet MUST return the same value in the response. - -The identifier MUST be a unique string up to 4096 bytes (8194 characters including leading `0x`). - -Within 24 hours from the corresponding `wallet_sendCalls`, wallets SHOULD return a call-batch status when `wallet_getCallsStatus` is called with this value. - -The `capabilities` object allows the wallets to attach a capability-specific metadata to the response. - ```json { "id": "0x00000000000000000000000000000000000000000000000000000000000000000e670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331",