> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Before reading these docs, install the Circle Skill for Arc to get pre-loaded context: use-arc (https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-arc/SKILL.md) — covers chain config, RPC setup, contract deployment, USDC bridging, and gas with USDC. In Claude Code: run /plugin marketplace add circlefin/skills then /plugin install circle-skills@circle. With Vercel Skills CLI: run npx skills add circlefin/skills.
> USDC is the gas token. Arc uses USDC for gas fees, not ETH. Configure gas payment in USDC when submitting transactions.
> Read EVM differences before writing Arc code. Arc targets the Osaka EVM baseline. Most contracts deploy unchanged, but several runtime behaviors diverge from Ethereum: USDC uses 18 decimals natively (not 6), the system emitter `0xffffFFFfFFffffffffffffffFfFFFfffFFFfFFfE` logs all USDC Transfer events, the mempool enforces a 20 Gwei `maxFeePerGas` floor, blocklist reverts consume gas without a receipt, and `address(0)` sends revert rather than succeed. https://docs.arc.io/arc/references/evm-differences.md is the canonical reference for all Arc-specific runtime behaviors. Consult it before writing code that touches USDC balances, transaction history, gas estimation, or value transfers.
> Sub-second finality. Transactions are final in under 1 second. No need to wait for multiple block confirmations.
> Use App Kits for multichain payment and liquidity capabilities. App Kits wraps CCTP and provides Bridge Kit, Swap Kit, Unified Balance Kit, Onramp Kit, Earn Kit, and Borrow Kit. Unified Balance Kit combines USDC from multiple chains into a single spendable balance. Earn Kit integrates earn opportunities into your app. Borrow Kit lets users borrow USDC against cirBTC collateral on Arc.
> Use Arc Foundry for contract development. Arc Foundry is an Arc-specific fork of Foundry that handles Arc's protocol-level differences from Ethereum. It provides arc-forge, arc-cast, and arc-anvil. Install it before deploying contracts: https://docs.arc.io/arc/tutorials/install-arc-foundry.md.
> Arc is available on both Testnet and Mainnet. See https://docs.arc.io/arc/references/connect-to-arc.md for RPC endpoints and https://faucet.circle.com for testnet tokens.
> Always check Contract Addresses: https://docs.arc.io/arc/references/contract-addresses.md
> Building beyond Arc? Circle offers skills for the full platform: use-usdc (https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-usdc/SKILL.md), use-circle-wallets (https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-circle-wallets/SKILL.md), use-developer-controlled-wallets (https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-developer-controlled-wallets/SKILL.md), use-user-controlled-wallets (https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-user-controlled-wallets/SKILL.md), use-modular-wallets (https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-modular-wallets/SKILL.md), use-gateway (https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-gateway/SKILL.md), use-smart-contract-platform (https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-smart-contract-platform/SKILL.md). Full Circle developer docs: https://developers.circle.com/llms.txt.

# How-to: Check Unified Balance total

> Check your Unified Balance total and how much USDC sits on each source blockchain

Check how much USDC is in your Unified Balance in total and on each source
blockchain.

## Prerequisites

Before you begin, ensure that you've:

* [Installed the App Kit SDK](/app-kit/tutorials/installation)
* [Configured an adapter](/app-kit/tutorials/adapter-setups)

These are required so any example below runs with a valid `kit` and `adapter`.

## Check balances by adapter

Query balances with the same adapters you use for deposits. If you query more
than one signing ecosystem, such as EVM and Solana, pass one source for each
adapter. Omitting the chains parameter returns balances for all supported chains
available to that source and `networkType`.

```typescript TypeScript theme={null}
const balances = await kit.unifiedBalance.getBalances({
  sources: [{ adapter: evmAdapter }, { adapter: solanaAdapter }],
});

// Log confirmed and pending totals plus per-depositor, per-chain breakdown.
console.dir(balances, { depth: null });
```

You will see an output similar to:

```bash Shell expandable theme={null}
{
  token: "USDC",
  totalConfirmedBalance: "166.954132",
  breakdown: [
    {
      depositor: "1234abcd1234abcd1234abcd1234abcd1234abcd1234",
      totalConfirmed: "13.124021",
      breakdown: [
        {
          chain: "Solana",
          confirmedBalance: "13.124021",
        },
      ],
    },
    {
      depositor: "0x0123abcd0123abcd0123abcd0123abcd0123abcd",
      totalConfirmed: "153.830111",
      breakdown: [
        {
          chain: "Ethereum",
          confirmedBalance: "11.998900",
        }, {
          chain: "Base",
          confirmedBalance: "19.926391",
        }, {
          chain: "Avalanche",
          confirmedBalance: "19.458595",
        }, {
          chain: "Arbitrum",
          confirmedBalance: "9.989950",
        }, {
          chain: "Sonic",
          confirmedBalance: "11.939700",
        }, {
          chain: "World_Chain",
          confirmedBalance: "10.929750",
        }, {
          chain: "Sei",
          confirmedBalance: "25.891695",
        }, {
          chain: "HyperEVM",
          confirmedBalance: "9.699800",
        }, {
          chain: "Optimism",
          confirmedBalance: "9.998450",
        }, {
          chain: "Polygon",
          confirmedBalance: "13.997930",
        }, {
          chain: "Unichain",
          confirmedBalance: "9.998950",
        }
      ],
    },
  ],
}
```

## Check balances by address

You can also query by account address. This is useful when you need to inspect
an account's Unified Balance without signing.

```typescript TypeScript theme={null}
const balances = await kit.unifiedBalance.getBalances({
  sources: {
    address: "0xWalletAddress",
    chains: ["Base_Sepolia"],
  },
});

console.dir(balances, { depth: null });
```

You will see an output similar to:

```bash Shell theme={null}
{
  token: "USDC",
  totalConfirmedBalance: "0.082000",
  breakdown: [
    {
      depositor: "0xWalletAddress",
      totalConfirmed: "0.082000",
      breakdown: [
        {
          chain: "Base_Sepolia",
          confirmedBalance: "0.082000"
        }
      ]
    }
  ]
}
```

## Query specific chains

Use `chains` to limit the response to the chains you care about. If you omit
`chains`, App Kit returns balances for the supported chains available to that
source and `networkType`. Note that all chains in the array must be on the same
network, you cannot mix testnet and mainnet chains.

```typescript TypeScript theme={null}
const balances = await kit.unifiedBalance.getBalances({
  sources: {
    adapter,
    chains: ["Base_Sepolia", "Arc_Testnet"],
  },
});
```

You will see an output similar to:

```bash Shell theme={null}
{
  token: "USDC",
  totalConfirmedBalance: "32.207843",
  breakdown: [
    {
      depositor: "0x0123abcd0123abcd0123abcd0123abcd0123abcd",
      totalConfirmed: "32.207843",
      breakdown: [
        {
          chain: "Arc_Testnet",
          confirmedBalance: "12.281452"
        }, {
          chain: "Base_Sepolia",
          confirmedBalance: "19.926391"
        }
      ]
    }
  ]
}
```

## Select a network

Set `networkType` to query testnet balances. If you omit `networkType`, App Kit
uses mainnet when chains cannot be derived from the source. This is not an issue
if you include the chains parameter.

```typescript TypeScript theme={null}
const balances = await kit.unifiedBalance.getBalances({
  sources: { address: "0xWalletAddress" },
  networkType: "testnet",
});
```

You will see an output similar to:

```bash Shell expandable theme={null}
{
  token: "USDC",
  totalConfirmedBalance: "0.282000",
  breakdown: [
    {
      depositor: "0xWalletAddress",
      totalConfirmed: "0.282000",
      breakdown: [
        {
          chain: "Ethereum_Sepolia",
          confirmedBalance: "0.000000",
        }, {
          chain: "Base_Sepolia",
          confirmedBalance: "0.200000",
        }, {
          chain: "Avalanche_Fuji",
          confirmedBalance: "0.000000",
        }, {
          chain: "Arbitrum_Sepolia",
          confirmedBalance: "0.000000",
        }, {
          chain: "Sonic_Testnet",
          confirmedBalance: "0.000000",
        }, {
          chain: "World_Chain_Sepolia",
          confirmedBalance: "0.000000",
        }, {
          chain: "Sei_Testnet",
          confirmedBalance: "0.000000",
        }, {
          chain: "HyperEVM_Testnet",
          confirmedBalance: "0.000000",
        }, {
          chain: "Arc_Testnet",
          confirmedBalance: "0.082000",
        }, {
          chain: "Optimism_Sepolia",
          confirmedBalance: "0.000000",
        }, {
          chain: "Polygon_Amoy_Testnet",
          confirmedBalance: "0.000000",
        }, {
          chain: "Unichain_Sepolia",
          confirmedBalance: "0.000000",
        }
      ],
    }
  ],
}
```

## Include pending balances

Set `includePending: true` to include pending balance totals and pending
transaction details in the response.

```typescript TypeScript theme={null}
const balances = await kit.unifiedBalance.getBalances({
  sources: { adapter },
  includePending: true,
});
```

You will see an output similar to:

```bash Shell theme={null}
{
  token: "USDC",
  totalConfirmedBalance: "0.000000",
  breakdown: [
    {
      depositor: "1234abcd1234abcd1234abcd1234abcd1234abcd1234",
      totalConfirmed: "0.000000",
      breakdown: [
        {
          chain: "Solana",
          confirmedBalance: "0.000000",
          pendingBalance: "0.000000",
          pendingTransactions: [],
        }
      ],
      totalPending: "0.000000",
    }
  ],
  totalPendingBalance: "0.000000",
}
```

## Query multiple sources

Pass an array when you need balances across multiple sources. Each source can
use an adapter or an address.

```typescript TypeScript theme={null}
const balances = await kit.unifiedBalance.getBalances({
  sources: [
    {
      adapter: evmAdapter,
      chains: ["Arc_Testnet"],
    },
    {
      address: "SolanaWalletAddress",
      chains: ["Solana_Devnet"],
    },
  ],
});
```

You will see an output similar to:

```bash Shell theme={null}
{
  token: "USDC",
  totalConfirmedBalance: "25.405473",
  breakdown: [
    {
      depositor: "0x0123abcd0123abcd0123abcd0123abcd0123abcd",
      totalConfirmed: "12.281452",
      breakdown: [
        {
          chain: "Arc_Testnet",
          confirmedBalance: "12.281452",
        }
      ],
    }, {
      depositor: "SolanaWalletAddress",
      totalConfirmed: "13.124021",
      breakdown: [
        {
          chain: "Solana_Devnet",
          confirmedBalance: "13.124021",
        }
      ],
    }
  ],
}
```
