# waitForCallsStatus (Solana)

> Overview of the waitForCallsStatus function

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function waitForCallsStatus(
  client,
  params,
): Promise<SolanaGetCallsStatusResult>;
```

Defined in: [packages/wallet-apis/src/actions/solana/waitForCallsStatus.ts:30](https://github.com/alchemyplatform/aa-sdk/blob/main/packages/wallet-apis/src/actions/solana/waitForCallsStatus.ts#L30)

Polls getCallsStatus until the call reaches a terminal state.
Similar API to viem's waitForCallsStatus with retry, exponential backoff,
configurable status predicate, throwOnFailure, and timeout.

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `client`
      </td>

      <td>
        `InnerSolanaWalletApiClient`
      </td>

      <td>
        The Solana wallet API client
      </td>
    </tr>

    <tr>
      <td>
        `params`
      </td>

      <td>
        [`SolanaWaitForCallsStatusParams`](../type-aliases/SolanaWaitForCallsStatusParams)
      </td>

      <td>
        The call ID and optional polling config
      </td>
    </tr>

  </tbody>
</table>

## Returns

`Promise`\<[`SolanaGetCallsStatusResult`](../type-aliases/SolanaGetCallsStatusResult)>

The final status