# Claim payout

There are a few ways in which a user may be owed funds from the SmartPiggies smart contract. If a writer creates a piggy that no one is interested in purchasing, the writer may burn that piggy, where by the collateral locked inside the piggy is assigned back to the writer. If a counterparty purchases a piggy on auction, the premium paid for the piggy is assigned to the seller. If a holder of a piggy executes the piggy pre or post maturity, and the holder is owed a payout that does not exceed the collateral locked in the piggy, both counterparties are owed an amount of the collateral.

In all of the circumstances above, collateral tokens are held by the SmartPiggies smart contract $$^1$$and assigned to the account of the owed party. If any party has an outstanding balance on the SmartPiggies smart contract, he or she can claim the balance, thereby reclaiming ownership rights of those tokens.

To claim a balance held on the SmartPiggies smart contract navigate to the **Manage Wallet** drop down menu. If the account does not have an outstanding balance, the default wallet menu is displayed. When the account does have an outstanding balance a claim button will appear:

![](/files/-McQ-bL3yiRPmFQ0s-dG)

Clicking the "Claim" button will initiate an on-chain transaction to transfer the tokens back to the connected account.

&#x20;&#x20;

## Footnotes

1 The SmartPiggies smart contract doesn't technically own or hold the tokens, but rather has ownership rights of a certain amount of tokens on the token smart contract.&#x20;


---

# 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.smartpiggies.com/lifecycle-of-a-piggy/claim-payout.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.
