waitForCallsStatus

Waits for the status of a prepared call to be updated, returning after the calls are no longer pending.

Import

1import { waitForCallsStatus } from "@account-kit/wallet-client";

Usage

1const result = await client.waitForCallsStatus({ id: "0x1234..." });
2console.log(result);

Parameters

client

InnerWalletApiClient

  • The wallet API client to use for the request

params

WaitForCallsStatusParameters

  • Parameters for waiting for calls status, including the call ID and options for polling.

Returns

Promise<WaitForCallsStatusResult> A Promise that resolves to the result containing the prepared call status, which includes a transaction receipt after the call is executed.