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

# Get Address

> Extract the public address from a wallet object

## Method Signature

```typescript theme={null}
align.blockchain.wallets.getAddress(wallet: Wallet): string
```

## Parameters

<ParamField body="wallet" type="Wallet" required>
  The wallet object to extract the address from
</ParamField>

## Returns

Returns the wallet's public address as a string (e.g., `"0x..."`).

## Examples

<Tabs>
  <Tab title="TypeScript">
    ```typescript theme={null}
    import Align from "@tolbel/align";

    const align = new Align({
      apiKey: process.env.ALIGN_API_KEY!,
      environment: "sandbox",
    });

    const wallet = await align.blockchain.wallets.create();

    const address = align.blockchain.wallets.getAddress(wallet);
    console.log(`Address: ${address}`);
    // Address: 0x742d35Cc6634C0532925a3b844Bc9e7595f0aB42
    ```
  </Tab>

  <Tab title="JavaScript">
    ```javascript theme={null}
    const wallet = await align.blockchain.wallets.create();
    const address = align.blockchain.wallets.getAddress(wallet);
    console.log("Address:", address);
    ```
  </Tab>
</Tabs>

<Info>This is a synchronous method - no network calls are made.</Info>

## Related Methods

<CardGroup cols={2}>
  <Card title="Create Wallet" icon="wallet" href="/docs/api/blockchain/wallets/create">
    Create new wallet
  </Card>

  <Card title="Get Balance" icon="coins" href="/docs/api/blockchain/wallets/get-balance">
    Check wallet balance
  </Card>
</CardGroup>
