File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
aa-sdk/core/src/actions/smartAccount
docs/specs/openrpc/bundler Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import { clientHeaderTrack } from "../../index.js";
24
24
* @param {Client<TTransport, TChain, any> } client_ The client instance used to interact with the blockchain
25
25
* @param {WaitForUserOperationTxParameters } args The parameters for the transaction to wait for
26
26
* @param {Hex } args.hash The transaction hash to wait for
27
+ * @param {string } args.tag The tag to use for the UO status. "pending" or "latest". Defaults to "latest".
27
28
* @param {WaitForUserOperationTxParameters["retries"] } [args.retries] Optional retry parameters
28
29
* @param {number } [args.retries.maxRetries] The maximum number of retry attempts
29
30
* @param {number } [args.retries.intervalMs] The interval in milliseconds between retries
Original file line number Diff line number Diff line change @@ -127,6 +127,12 @@ methods:
127
127
description : The `userOpHash` of the `UserOperation` to get the receipt for (as returned by `eth_sendUserOperation`).
128
128
schema :
129
129
$ref : " ../_shared_wallets/components.yaml#/components/schemas/hash32"
130
+ - name : tag
131
+ required : false
132
+ description : The blocktag for checking the UO status. \"pending\" or \"latest\". Defaults to \"latest\".".
133
+ schema :
134
+ type : string
135
+ enum : ["pending", "latest"]
130
136
result :
131
137
name : UserOperationReceipt
132
138
description : " `UserOperationReceipt` object representing the outcome of a `UserOperation`."
@@ -145,6 +151,7 @@ methods:
145
151
" reason" ,
146
152
" logs" ,
147
153
" receipt" ,
154
+ " status" ,
148
155
]
149
156
properties :
150
157
userOpHash :
@@ -290,6 +297,9 @@ methods:
290
297
type :
291
298
type : string
292
299
description : The type of the transaction.
300
+ status :
301
+ type : string
302
+ description : The status of the `UserOperation`. Could be \"Mined\" or \"Preconfirmed\"."
293
303
examples :
294
304
- name : eth_getUserOperationReceipt example
295
305
params :
@@ -313,6 +323,7 @@ methods:
313
323
blockHash : " 0x58a945e1558810523df00490ff28cbe111b37851c44679ce5be1eeaebb4b4907"
314
324
blockNumber : " 0xeb8822"
315
325
transactionIndex : " 0x4e"
326
+ status : " Mined"
316
327
317
328
- name : eth_supportedEntryPoints
318
329
description : |
You can’t perform that action at this time.
0 commit comments