Skip to content
Alchemy Logo

getCallsStatus

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

Defined in: account-kit/wallet-client/src/client/actions/getCallsStatus.ts:39

Gets the status of a prepared call by its ID. This method is used to check the execution status of calls sent via sendPreparedCalls.

// After sending prepared calls
const sendResult = await client.sendPreparedCalls({...});
 
// Check the status of the call ID
const status = await client.getCallsStatus(sendResult.id);

ParameterTypeDescription

client

InnerWalletApiClient

The wallet API client to use for the request

params

`0x${string}`

The ID of the prepared call to check

Promise<{ }>

A Promise that resolves to the status information including:

  • id: The hex ID of the call
  • chainId: The chain ID in hex format
  • status: The current status of the batch execution
  • receipts: Optional array of transaction receipts if the batch has been executed
Was this page helpful?