> For the complete documentation index, see [llms.txt](https://docs.pondo.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pondo.xyz/get-started/how-to-burn-pndo-for-paleo.md).

# How to Burn PNDO for pALEO?

As there is no web interface to burn PNDO yet, the burn function must be executed directly from the Leo Demo DApp. Here is the step-by-step guide to do so.

### Step 1: Open <https://demo.leo.app/execute>, and connect your wallet

<figure><img src="/files/Lzq2PcnOpP66Qv4Z8P5K" alt=""><figcaption></figcaption></figure>

### Step 2: Fill the required fields of the form

<figure><img src="/files/ci8svodWhWzNY3oolFu8" alt=""><figcaption></figcaption></figure>

**Program ID:** `pondo_protocol_token.aleo`

**Function Name:** `burn_public`

**Inputs:** *(One input per line)*

`YOUR_ADDRESS` *(It must be the same as the wallet address connected to the dApp)*\
`PNDO_BURNT_AMOUNT` *(Postfixed with u128, as an integer with 6 digits precision, for instance 23.5 PNDO would be represented by 23500000u128)*\
`WITHDRAWN_PALEO_AMOUNT` *(Postfixed with u128, as an integer with 6 digits precision, for instance 123.456 ALEO would be represented by 123456000u128, see next section to learn how to determine this amount)*

**Fee:** `346053` (Network fees, \~0.35 ALEO)

### Step 3: Review and Confirm the Transaction in your Wallet

<div data-full-width="false"><figure><img src="/files/JpPrGl9e5HONbtN6ebvl" alt="" width="185"><figcaption></figcaption></figure></div>

## How to determine the withdrawn pALEO amount?

Let's say you are trying to burn a PNDO token amount N, you then need to determine what is the associated withdrawn pALEO amount: A. Let's understand how to compute A from N.

### Step 1: Retrieve B, the pALEO balance of Pondo Contract

Open the following link:\
<https://api.explorer.provable.com/v1/mainnet/program/token_registry.aleo/mapping/authorized_balances/3242288718229738787948769588602675310170924869859109695547161313477376112745field>

<figure><img src="/files/MSpQeDxBbvhHH77EUqqA" alt="" width="375"><figcaption></figcaption></figure>

B is the integer between `balance:` and the following `u128`, here `57062905199`.

### Step 2: Retrieve S, the PNDO current supply

Open the following link:\
<https://api.explorer.provable.com/v1/mainnet/program/token_registry.aleo/mapping/registered_tokens/1751493913335802797273486270793650302076377624243810059080883537084141842601field>

<figure><img src="/files/dIliaIGQlXwSP8QahpfK" alt="" width="375"><figcaption></figcaption></figure>

S is the integer between `supply:` and the following `u128`, here `57062905199`.

You can then obtain the pALEO amount A you will get for burning N PNDO tokens:

$$
A=\frac{N\cdot B}{S}
$$
