# What address is the receiver of deposit in the stake address registration transaction

**URL:** <https://forum.cardano.org/t/what-address-is-the-receiver-of-deposit-in-the-stake-address-registration-transaction/89141>\
**Category:** Stake Delegation\
**Created:** [16 December 2021 14:45 UTC](https://forum.cardano.org/t/what-address-is-the-receiver-of-deposit-in-the-stake-address-registration-transaction/89141 "2021-12-16T14:45:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![f-squirrel](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/f-squirrel/32/46777_2.png) [@f-squirrel](https://forum.cardano.org/u/f-squirrel)\
**Post date:** [16 December 2021 14:45 UTC](https://forum.cardano.org/t/what-address-is-the-receiver-of-deposit-in-the-stake-address-registration-transaction/89141/1 "2021-12-16T14:45:28Z")

</div>

I am trying to build a stake address registration transaction.  
In the [docs](https://docs.cardano.org/getting-started/running-stake-pools-and-delegation-for-exchanges) there are two tx outs:

```auto
# Build
cardano-cli transaction build-raw \
    --tx-in "$INPUT" \
    --tx-out "${FROM}+${CHANGE}" \
    --tx-out "${TO}+${AMOUNT}" \
    --ttl $(expr $(CARDANO_NODE_SOCKET_PATH=/opt/cardano/fnf/sockets/node0.socket ./cardano-cli query tip --mainnet | jq ".slotNo" --raw-output) + 20000) \ --fee "$FEE" \
    --tx-body-file stake-cert-tx

```

I understand that the first out is the change, but what is the `${TO}` address?

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [16 December 2021 17:28 UTC](https://forum.cardano.org/t/what-address-is-the-receiver-of-deposit-in-the-stake-address-registration-transaction/89141/2 "2021-12-16T17:28:49Z")

</div>

check this guide

> **[Guide: How to build a Cardano Stake Pool](https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node#11.-register-your-stake-address)**
>
> On Ubuntu/Debian, this guide will illustrate how to install and configure a Cardano stake pool from source code on a two node setup with 1 block producer node and 1 relay node.

---

<div class="post-metadata">

**Author:** ![f-squirrel](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/f-squirrel/32/46777_2.png) [@f-squirrel](https://forum.cardano.org/u/f-squirrel)\
**Post date:** [19 December 2021 15:17 UTC](https://forum.cardano.org/t/what-address-is-the-receiver-of-deposit-in-the-stake-address-registration-transaction/89141/3 "2021-12-19T15:17:14Z")

</div>

Thank you very much!
