> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://v3.viem.sh/api/mcp` to find what you need.

# Get Call Status \[wallet.getCallsStatus]

Returns the status and receipts of a call batch that was sent via [`Actions.wallet.sendCalls`](/docs/actions/wallet/sendCalls) ([EIP-5792](https://eips.ethereum.org/EIPS/eip-5792)).

## Usage

This example gets a call batch's status and receipts.

:::code-group
```ts twoslash [example.ts]
import { client } from './viem.config'

const { receipts, status } = await client.wallet.getCallsStatus({
  id: '0xdeadbeef',
})
// @log: {
// @log:   atomic: true,
// @log:   chainId: 1,
// @log:   id: '0xdeadbeef',
// @log:   receipts: [{ blockNumber: 12345678n, gasUsed: 21000n, status: 'success', ... }],
// @log:   status: 'success',
// @log:   statusCode: 200,
// @log:   version: '2.0.0',
// @log: }
```

```ts twoslash [viem.config.ts] filename="viem.config.ts"
import { Client, custom, walletActions } from 'viem'
import 'viem/window'

export const client = Client.create({
  transport: custom(window.ethereum!),
}).extend(walletActions())
```
:::

### Standalone Action

Call `Actions.wallet.getCallsStatus` directly by passing the Client as the first argument.

:::code-group
```ts twoslash [example.ts]
import { Actions } from 'viem'
import { client } from './viem.config'

const { receipts, status } = await Actions.wallet.getCallsStatus(client, {
  id: '0xdeadbeef',
})
// @log: {
// @log:   atomic: true,
// @log:   chainId: 1,
// @log:   id: '0xdeadbeef',
// @log:   receipts: [{ blockNumber: 12345678n, gasUsed: 21000n, status: 'success', ... }],
// @log:   status: 'success',
// @log:   statusCode: 200,
// @log:   version: '2.0.0',
// @log: }
```

```ts twoslash [viem.config.ts] filename="viem.config.ts"
import { Client, custom } from 'viem'
import 'viem/window'

export const client = Client.create({
  transport: custom(window.ethereum!),
})
```
:::

## Return Value

`{ atomic: boolean; capabilities?: Capabilities.Extract<'getCallsStatus', 'ReturnType'>; chainId: number | undefined; id: string; receipts: readonly Receipt[]; status: 'pending' | 'success' | 'failure' | undefined; statusCode: number; version: string }`

The status of the call batch. `status` is `'pending' | 'success' | 'failure' | undefined`, and `receipts` contains the per-call transaction receipts.

## Parameters

### id

* **Type:** `string`

The identifier of the call batch (returned by [`Actions.wallet.sendCalls`](/docs/actions/wallet/sendCalls)).

```ts twoslash
import { Actions } from 'viem'
// [!include ~/snippets/docs/reference-client.ts:setup]
// ---cut---
const { receipts, status } = await Actions.wallet.getCallsStatus(client, {
  id: '0xdeadbeef', // [!code focus]
})
```
