> For the complete documentation index, see [llms.txt](https://docs.pancakeswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pancakeswap.finance/espanol/bienvenido-a-pancakeswap/contact-us/faq/what-is-an-approval-transaction.md).

# ¿Qué es una transacción de aprobación?

**La primera vez que intercambias o agregas liquidez, debes aprobar el token que estás intercambiando. Esto le da al contrato inteligente de PancakeSwap permiso para intercambiar ese token desde tu billetera.**

La transacción de aprobación le permite a PancakeSwap el permiso de intercambiar el token desde tu billetera. Debes completar una transacción de aprobación para cada token que quieras intercambiar usando PancakeSwap.

Aquí hay una guía sobre cómo completar una transacción de aprobación:

1. Ingresa los detalles de tu intercambio.

   <figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/step1%20%281%29%20%281%29.png" alt=""><figcaption></figcaption></figure>
2. Selecciona "Confirmar intercambio" después de revisar los detalles del intercambio.

   <figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/4536.png" alt=""><figcaption></figcaption></figure>
3. En la aplicación de billetera o extensión de billetera, aprueba el gasto del token que estás intercambiando.

Permite que el token sea usado para intercambiar en tu billetera.

*Tu billetera puede requerirte ingresar el número de tokens que quieres aprobar. Por favor, ingresa un número mayor o igual al número de tokens que estás intercambiando.*

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/1%20%281%29.png" alt=""><figcaption></figcaption></figure>

4. Después de la aprobación, aparecerá otra transacción que te pedirá confirmar el intercambio.

   <figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/3.png" alt=""><figcaption></figcaption></figure>
5. Una vez confirmado el intercambio, la transacción se envía a la blockchain (pendiente).

   <figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/step%2004.png" alt=""><figcaption></figcaption></figure>
6. Verás "Éxito" y una marca de verificación verde en la pantalla cuando la transacción se complete exitosamente.

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/5.png" alt=""><figcaption></figcaption></figure>

La aprobación del token dura un período de tiempo determinado; el token deberá ser aprobado nuevamente más tarde con una solicitud de firma. Una firma de aprobación no requiere una tarifa de red.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pancakeswap.finance/espanol/bienvenido-a-pancakeswap/contact-us/faq/what-is-an-approval-transaction.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
