> 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 %}
