> For the complete documentation index, see [llms.txt](https://docs.payswap.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payswap.org/bahasa-indonesia/readme/help/what-is-an-approval-transaction.md).

# Apa itu Transaksi Persetujuan?

**Pertama kali Anda melakukan pertukaran atau menambah likuiditas, Anda harus menyetujui token yang Anda pertukarkan. Ini memberi izin kepada kontrak cerdas PaySwap untuk pertukaran token itu dari dompet Anda.**

Transaksi persetujuan memungkinkan PaySwap untuk menukarkan token dari dompet Anda. Anda harus menyelesaikan transaksi persetujuan untuk setiap token yang ingin Anda pertukarkan menggunakan PaySwap.

Berikut adalah panduan tentang cara menyelesaikan transaksi persetujuan:

1. Masukkan detail pertukaran Anda.

   <figure><img src="https://4153267826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEywrrCx8K8hc6M3zcF2U%2Fuploads%2Fgit-blob-0e9e16339fe030d435d19bd4efe9c6398e422e23%2Fstep1%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>
2. Pilih "Konfirmasikan pertukaran" setelah meninjau detail pertukaran.

   <figure><img src="https://4153267826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEywrrCx8K8hc6M3zcF2U%2Fuploads%2Fgit-blob-7d59a3bf09f11524074b5ef1c7dc2b13399fc866%2F4536.png?alt=media" alt=""><figcaption></figcaption></figure>
3. Di aplikasi dompet Anda atau ekstensi dompet, setujui pengeluaran untuk token yang Anda pertukarkan.

Izinkan token tersebut digunakan untuk pertukaran di dompet Anda.

*Dompet Anda mungkin meminta Anda untuk memasukkan jumlah token yang ingin Anda setujui. Harap masukkan angka yang lebih besar dari atau sama dengan jumlah token yang Anda pertukarkan.*

<figure><img src="https://4153267826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEywrrCx8K8hc6M3zcF2U%2Fuploads%2Fgit-blob-80e7ec151bb5ba7f8d702ffca1cf97d73b16914e%2F1%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

4. Setelah persetujuan, transaksi lain akan muncul yang meminta Anda untuk mengonfirmasi pertukaran.

   <figure><img src="https://4153267826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEywrrCx8K8hc6M3zcF2U%2Fuploads%2Fgit-blob-ec4ba09beec485bec16d7ee6116933e44413688d%2F3.png?alt=media" alt=""><figcaption></figcaption></figure>
5. Setelah pertukaran dikonfirmasi, transaksi dikirimkan ke blockchain (tertunda).

   <figure><img src="https://4153267826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEywrrCx8K8hc6M3zcF2U%2Fuploads%2Fgit-blob-235c3be5c19d0b999bae31cead758bec69bd4b96%2Fstep%2004.png?alt=media" alt=""><figcaption></figcaption></figure>
6. Anda akan melihat "Berhasil" dan tanda centang hijau di layar saat transaksi berhasil diselesaikan.

<figure><img src="https://4153267826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEywrrCx8K8hc6M3zcF2U%2Fuploads%2Fgit-blob-68004fb26ae3d39043aeaf29ccd643cec91b7534%2F5.png?alt=media" alt=""><figcaption></figcaption></figure>

Persetujuan token berlangsung selama periode waktu tertentu, token akan harus disetujui lagi nanti dengan permintaan tanda tangan. Sebuah tanda tangan persetujuan tidak memerlukan biaya jaringan.


---

# 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.payswap.org/bahasa-indonesia/readme/help/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.
