waitForCallsStatus
Defined in: account-kit/wallet-client/src/client/actions/waitForCallsStatus.ts:19
Waits for the status of a prepared call to be updated, returning after the calls are no longer pending.
Example
Parameters
Returns
Promise
<{
atomic
: boolean
;
capabilities?
: | {
[key
: string
]: any
;
}
| {
[key
: string
]: any
;
};
chainId
: number
;
id
: string
;
receipts?
: WalletCallReceipt
<bigint
, "success"
| "reverted"
>[];
status
: undefined
| "pending"
| "success"
| "failure"
;
statusCode
: number
;
version
: string
;
}>
A Promise that resolves to the result containing the prepared call status, which includes a transaction receipt after the call is executed.