Skip to content
Alchemy Logo

waitForCallsStatus

function waitForCallsStatus(client, params): Promise<{}>;

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.

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

ParameterTypeDescription

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.

Promise<{ }>

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

Was this page helpful?