# 6. Burning osETH

### Overview

In this section, we will cover the process of burning osETH tokens using the Chorus One SDK. Burning osETH is essential for redeeming your staked ETH, allowing you to unlock and unstake your assets from the Vault.

We will guide you through determining the maximum amount of osETH you can burn, preparing the burn transaction, and executing it on the blockchain.

### Determining Maximum Burnable osETH

First, we need to determine the maximum amount of osETH that can be burned. This is done by calling the `getMint` method on the `EthereumStaker` instance.

**Here's a snippet illustrating this process:**

```typescript
const staker = new EthereumStaker({ network: 'hoodi' })
await staker.init()

const { balance: mintAmount } = await staker.getMaxMintForVault({
  delegatorAddress: userAddress,
  validatorAddress
})

console.log(mintAmount) // '1' - 1 ETH

if (amountToBurn > mintAmount) {
  // The user is trying to burn more than they can
  throw new Error('Burning amount exceeds the limit')
}
```

### Executing the Burning Transaction

After determining the maximum amount of osETH that can be burned, proceed to build and send the burn transaction.

**Here's how you can implement this with the `buildBurnTx` method:**

```typescript
const { tx: burnTx } = await staker.buildBurnTx({
  delegatorAddress: userAddress,
  validatorAddress,
  amount: amountToBurn // Passed as string, e.g. '1' - 1 ETH
})

const request = await walletClient.prepareTransactionRequest(unstakeTx)
await walletClient.sendTransaction(request)
```

### Next Steps

Now that you have learned how to burn osETH tokens, you are ready to dive deeper into the Chorus One SDK's capabilities. Proceed to the next section to explore [Transaction History](/ethereum-tutorial/7-transaction-history.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk.chorus.one/ethereum-tutorial/6-burning-os-eth.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
