# Redeem Funds

It is important to note, once the gig’s 14-day lock period has passed, you can use the redeem funds to get the coins back. Unfortunately, this function before 14 days, in Bitcoin blocks, will not work.&#x20;

**1. Open the gig page**\
Go to the gig you created:\
<https://www.zeroauthoritydao.com/gigs/ef4aeba7-444f-4a46-91f3-20c247342292>

**2. Get the Stacks transaction**\
On the gig page, copy the **Stacks transaction** associated with the gig creation.

**3. Open the transaction in the explorer**\
Paste that transaction into:\
[https://explorer.hiro.so](https://explorer.hiro.so/)\
(or use the direct link if you already have one)\
Example:\
<https://explorer.hiro.so/txid/71c78c7677e2de81e8f07056afdfcc645014dcd63a636552cf0c6c828a151d3b?chain=mainnet&api=https://api.mainnet.hiro.so>

**4. Get the contract ID**\
On the explorer page, locate the gig contract.\
It should look like:\
**SP2GW18TVQR75W1VT53HYGBRGKFRV5BFYNAF5SS5J.ZADAO-V2a-gigs**

**5. Open Stacks Sandbox**\
Go to the Stacks Sandbox.

**6. Connect your Stacks wallet**\
Make sure you are connecting **with the same wallet that originally created the gig**.\
If you use a different wallet, you won’t be able to redeem funds.

**7. Under “Call a contract”**\
Paste the gig contract ID:\
**SP2GW18TVQR75W1VT53HYGBRGKFRV5BFYNAF5SS5J.ZADAO-V2a-gigs**

**8. Click “Get contract”**

**9. Choose the function**\
Select the public function **`redeem-back`**.

**10. Enable Allow Mode**\
Turn on "Allow Mode" so the contract can move tokens.

**11. Enter the inputs**\
You need two things:\
• **gig id**\
• **pay on** (the token ID used for payment)

How to find them:

**Finding the gig id:**\
On the explorer page for the original transaction, open the **Events** tab.\
Look for the event where the gig was created and copy the **gig id**.

**Finding the “pay on” token ID:**\
In the same **Events** tab, look for the **currency** field.\
Example:\
`currency: 'SP32AEEF6WW5Y0NMJ1S8SBSZDAY8R5J32NBZFPKKZ.wstx'`\
This is the token contract ID you must enter for **pay on**.

**12. Submit the transaction**\
After submitting, your funds will automatically return to you **once the gig’s 14-day lock period has passed**.

***


---

# 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://docs.zeroauthority.xyz/gigs/gigs-onchain/redeem-funds.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.
