# App address from app id

**URL:** https://forum.algorand.co/t/app-address-from-app-id/6228
**Category:** General
**Tags:** smart-contracts
**Created:** [March 9, 2022, 9:47am UTC](https://forum.algorand.co/t/app-address-from-app-id/6228 "2022-03-09T09:47:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hungpq](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@hungpq](https://forum.algorand.co/u/hungpq)
#### Post date: [March 9, 2022, 9:47am UTC](https://forum.algorand.co/t/app-address-from-app-id/6228/1 "2022-03-09T09:47:22Z")

</div>

In Pyteal, are there anyway to get the app address from given app id?

I see the similar method in the python sdk but can not find in pyteal anyway. Or if could, can that field be returned with CreatedApplicationID (something like CreatedApplicationAddress)?

The scenario here is that i created app A in the app B (using contract2contract), then the app B can get app A id but seem its hard to get app A address. it’s for funding minimal balance amount and doing initial stuff (or any best practice for funding minimum balance here)? (think of uni swap create and add liquidity in 1 txn)

---

<div class="post-metadata">

### Author: ![Ben](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/ben/32/1979_2.png) [@Ben](https://forum.algorand.co/u/Ben)
#### Post date: [March 9, 2022, 2:54pm UTC](https://forum.algorand.co/t/app-address-from-app-id/6228/2 "2022-03-09T14:54:04Z")

</div>

Hi Hungpq,

You can use the AppParams to get the app address, see this example

> <https://github.com/algorand-devrel/demo-avm1.1/blob/master/demos/trampoline/app.py#L32>

Ben
