---
title: "Generate a TRON address from the wallet's extended public key"
method: GET
path: "/v3/tron/address/{xpub}/{index}"
tags: ["Tron - Tatum API"]
---

# Generate a TRON address from the wallet's extended public key

`GET /v3/tron/address/{xpub}/{index}`

## Request

- Base URL: `https://api.tatum.io`
- URL: `https://api.tatum.io/v3/tron/address/{xpub}/{index}`
- Auth: API key in header `x-api-key`

/v3/tron/address/{xpub}/{index}

**5 credits per API call**

Generate a TRON address from the extended public key of the wallet. The address is generated for the specific index - each extended public key can generate up to 2^32 addresses with the index starting from 0 up to 2^31.

## Path parameters

- `xpub` string, required
- `index` number, required

## Response `200`

OK

- object
  - `address` string: Tron address

## Other responses

- `400`: Bad Request
- `401`: Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
- `403`: Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
- `500`: Internal server error. There was an error on the server during the processing of the request.

---

[API](https://skmtc.dev/tatum/apis/blockchain.md) - [All operations](https://skmtc.dev/tatum/apis/blockchain/llms.txt) - [OpenAPI document](https://skmtc.dev/tatum/apis/blockchain/revisions/f9623a85f420?raw)
