Skip to content

Commit b1e4770

Browse files
committed
better text, remove id
1 parent b0bde25 commit b1e4770

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

EIPS/eip-5792.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,18 +159,30 @@ The method takes an array containing one string element, a bundle ID returned by
159159

160160
##### `wallet_getBundleStatus` Example Parameters
161161

162+
As with the return value of `wallet_sendFunctionCallBundle`, the bundle identifier may be any string of max length `66`.
163+
164+
It may be the hash of the call bundle:
162165
```json
163-
[
164-
"0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
165-
]
166+
["0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"]
167+
```
168+
169+
It may contain a numeric identifier as a hex string:
170+
171+
```json
172+
["0x01"]
173+
```
174+
175+
It may be a base64 encoded string:
176+
177+
```json
178+
["aGVsbG8gd29ybGQ="]
166179
```
167180

168181
#### `wallet_getBundleStatus` Return value
169182

170183
Returns an object describing the status of each call in the bundle. Each call has its own status in the response,
171184
even if all the calls were submitted as part of a single transaction.
172185

173-
- `id`: `DATA` - The identifier of the transaction returned by `wallet_sendFunctionCallBundle`
174186
- `calls`: `ARRAY` - An array of objects containing the status of each call from the bundle
175187
- `status`: `"PENDING" | "CONFIRMED"` - Either `"PENDING"` indicating the call is not yet included on-chain,
176188
or `"CONFIRMED"` indicating the call was included in a block
@@ -188,7 +200,6 @@ even if all the calls were submitted as part of a single transaction.
188200

189201
```json
190202
{
191-
"id": "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331",
192203
"calls": [
193204
{
194205
"status": "CONFIRMED",

0 commit comments

Comments
 (0)