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

# EVM Wallet

> Retrieve EVM wallet balances and token holdings for Ethereum, Base, and BNB Chain.

Query wallet balances.

***

## Get Native Balance

**Endpoint:** `/evm/wallet/balance`

<Tabs>
  <Tab title="Socket.IO">
    ```typescript theme={null}
    socket.emit("/evm/wallet/balance", {
      chain: "eth",
      wallet: "0x10a64c6d7f12c47b7c66c5b4e20e72bc1fcd5d9e",
    });
    ```
  </Tab>

  <Tab title="HTTP">
    ```typescript theme={null}
    await fetch("https://api.chainworks.co/evm/wallet/balance", {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
        Authorization: CHAINWORKS_API_AUTH_TOKEN,
      },
      body: JSON.stringify({
        chain: "eth",
        wallet: "0x10a64c6d7f12c47b7c66c5b4e20e72bc1fcd5d9e",
      }),
    });
    ```
  </Tab>
</Tabs>

***

## Get Token Balance

**Endpoint:** `/evm/wallet/balance/token`

<Tabs>
  <Tab title="Socket.IO">
    ```typescript theme={null}
    socket.emit("/evm/wallet/balance/token", {
      chain: "eth",
      token: "0x6982508145454Ce325dDbE47a25d4ec3d2311933",
      wallet: "0x10a64c6d7f12c47b7c66c5b4e20e72bc1fcd5d9e",
    });
    ```
  </Tab>

  <Tab title="HTTP">
    ```typescript theme={null}
    await fetch("https://api.chainworks.co/evm/wallet/balance/token", {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
        Authorization: CHAINWORKS_API_AUTH_TOKEN,
      },
      body: JSON.stringify({
        chain: "eth",
        token: "0x6982508145454Ce325dDbE47a25d4ec3d2311933",
        wallet: "0x10a64c6d7f12c47b7c66c5b4e20e72bc1fcd5d9e",
      }),
    });
    ```
  </Tab>
</Tabs>
