> For the complete documentation index, see [llms.txt](https://p00ls.gitbook.io/token-os/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://p00ls.gitbook.io/token-os/wallet-api/allocations.md).

# Allocations

### **The allocation object**

The TokenOS distribution system is based upon the concept of allocations. An allocation represents an entry inside our distribution contract.&#x20;

Once forged, an allocation (or airdrop) is immutable.  It cannot be changed.

### Retrieve allocation

{% openapi src="/files/1ZufwT7kT9H2fuk8bljn" path="/allocations/{allocationId}" method="get" %}
[wallet-api.yaml](https://2025772754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKOyoBDhx8ymvd9xgu92d%2Fuploads%2FPmDqNaxOC2MxYZ9YprNW%2Fwallet-api.yaml?alt=media\&token=ae9da10b-ca04-4a1a-9edf-a9a27adfa4ff)
{% endopenapi %}

{% openapi src="/files/1ZufwT7kT9H2fuk8bljn" path="/allocations" method="get" %}
[wallet-api.yaml](https://2025772754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKOyoBDhx8ymvd9xgu92d%2Fuploads%2FPmDqNaxOC2MxYZ9YprNW%2Fwallet-api.yaml?alt=media\&token=ae9da10b-ca04-4a1a-9edf-a9a27adfa4ff)
{% endopenapi %}

### Transfer allocation to user's wallet

After the airdrop is created for a user, they must claim their airdrop - a process that requires the payment of gas fees.

If you would like to provide a more seamless experience for your users and directly deposit tokens into your users' wallets, you can use the following endpoint to pay the gas fees for the user's airdrop.  This will require you to have ETH in a wallet, that you'll continuously need to top up as gas fees are paid.

{% openapi src="/files/1ZufwT7kT9H2fuk8bljn" path="/allocations/{allocationId}/transfer" method="post" %}
[wallet-api.yaml](https://2025772754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKOyoBDhx8ymvd9xgu92d%2Fuploads%2FPmDqNaxOC2MxYZ9YprNW%2Fwallet-api.yaml?alt=media\&token=ae9da10b-ca04-4a1a-9edf-a9a27adfa4ff)
{% endopenapi %}


---

# 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 dynamically by asking a question.

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

```
GET https://p00ls.gitbook.io/token-os/wallet-api/allocations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
