> ## Documentation Index
> Fetch the complete documentation index at: https://chainstack-docs-polygon-erigon-trace-deprecation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# packAddress | TON v2

> The packAddress method converts a raw TON address to a user-friendly format. TON v2 developers can call packAddress via Chainstack.

The `packAddress` method converts a raw TON address to a user-friendly format. This method is useful for presenting TON addresses in a more readable and standardized way.

<Note>
  **TON billing: full (1 RU)**

  This method is always billed as full. See [Request units — TON method scope](/docs/request-units#ton-method-scope).
</Note>

## JSON-RPC example

```shell Shell theme={null}
curl -X POST \
  'https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2/jsonRPC' \
  -H 'Content-Type: application/json' \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "packAddress",
    "params": {
      "address": "0:ed1691307050047117b998b561d8de82d31fbf84910ced6eb5fc92e7485ef8a7"
    }
  }'
```

## Parameters

* `address` (string, required) — The raw address to pack. Example: `0:ed1691307050047117b998b561d8de82d31fbf84910ced6eb5fc92e7485ef8a7`.

## Response

* `address` (string) — The packed address in user-friendly format. This format typically includes a checksum and is easier for users to read and verify.

## Use case

A possible use case for the `packAddress` method in TON is for wallet applications, blockchain explorers, or any DApp that needs to display TON addresses to users. This method can be used to:

1. Convert raw addresses to a more user-friendly format before displaying them in a UI.
2. Standardize address representation across different parts of an application.
3. Prepare addresses for QR code generation or other visual representations.
4. Improve user experience by making addresses easier to read and verify visually.


## OpenAPI

````yaml openapi/ton_node_api/v2/packAddress.json GET /packAddress
openapi: 3.0.0
info:
  title: packAddress example
  version: 1.0.0
  description: >-
    This is an API example for packAddress, a method to convert a raw TON
    address to a user-friendly format.
servers:
  - url: >-
      https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2
security: []
paths:
  /packAddress:
    get:
      tags:
        - TON Operations
      summary: packAddress
      operationId: packAddress
      parameters:
        - name: address
          in: query
          required: true
          description: The raw address to pack
          schema:
            type: string
            default: 0:ed1691307050047117b998b561d8de82d31fbf84910ced6eb5fc92e7485ef8a7
          example: 0:ed1691307050047117b998b561d8de82d31fbf84910ced6eb5fc92e7485ef8a7
      responses:
        '200':
          description: The packed (user-friendly) address
          content:
            application/json:
              schema:
                type: object
                properties:
                  address:
                    type: string
                    description: The packed address in user-friendly format

````