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

# Set Default EVM Address

> Set the same EVM address for all EVM-compatible chains in a single operation.

Set the same EVM address for all EVM-compatible chains in one call instead of multiple individual calls.

<Note>
  <strong>Supported Chains:</strong> See supported EVM-compatible [Chains](/developer-guide/sdks/offchain-manager/chainname)
</Note>

## Method

```typescript theme={null}
setDefaultEvmAddress(subname: string, value: string): Promise<void>
```

**Parameters:**

* `subname` - Full subname (e.g., 'alice.example.eth')
* `value` - EVM wallet address

## Usage

```typescript theme={null}
import { createOffchainClient } from '@thenamespace/offchain-manager';

const client = createOffchainClient();
client.setDefaultApiKey('your-api-key');

// Set same address for all EVM chains
await client.setDefaultEvmAddress('alice.example.eth', '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045');
```

## Before vs After

<Tabs>
  <Tab title="Before (Multiple calls)">
    ```typescript theme={null}
    await client.addAddressRecord('alice.example.eth', ChainName.Ethereum, '0x...');
    await client.addAddressRecord('alice.example.eth', ChainName.Arbitrum, '0x...');
    await client.addAddressRecord('alice.example.eth', ChainName.Optimism, '0x...');
    // ... many more calls for each EVM chain
    ```
  </Tab>

  <Tab title="After (Single call)">
    ```typescript theme={null}
    await client.setDefaultEvmAddress('alice.example.eth', '0x...');
    ```
  </Tab>
</Tabs>
