useWaitForCallsStatus
Hook to wait for calls status to be confirmed. It will poll until the calls reach the desired status or until a timeout occurs.
Import
Usage
Parameters
params
UseWaitForCallsStatusParams
- Parameters for the hook
params.client
GetSmartWalletClientResult<Address> | undefined
- Smart wallet client instance. The hook will not fetch until this is defined.
Returns
UseWaitForCallsStatusResult
Query result containing the final status