> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Request Claim Allocation

Claim tokens from a Magna allocation. Returns unsigned EVM transaction parameters that need to be signed and submitted on-chain. Optionally verifies geographic restrictions via country code. Ideal for: automating token claims, batch claiming across allocations, scheduled claim workflows.

![Request Claim Allocation logo](https://cdn.b3.fun/b3os-icons/magna.svg)
Catalog action Integrations magna

Claim tokens from a Magna allocation. Returns unsigned EVM transaction parameters that need to be signed and submitted on-chain. Optionally verifies geographic restrictions via country code. Ideal for: automating token claims, batch claiming across allocations, scheduled claim workflows.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `magna-claim-allocation` |
| Category | Integrations |
| Connector | `magna` |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `magna`, `claim`, `vesting`, `token`, `transaction`, `write` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `allocationId` | `string` | Yes | The unique identifier of the allocation to claim. |
| `sender` | `string` | Yes | The EVM wallet address \(0x…\) that will sign the claim transaction. |
| `userCountryCode` | `string` | No | Optional country code for geographic restriction verification. |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `isProcessed` | `boolean` | Yes | Whether the request was processed successfully. |
| `result` | `array` | Yes | Array of unsigned transactions to be signed and submitted on-chain. |

## Examples

**Workflow node**

```json
{
  "type": "magna-claim-allocation",
  "payload": {
    "allocationId": "example-allocationId",
    "sender": "0x0000000000000000000000000000000000000000"
  },
  "children": [],
  "connector": {
    "type": "magna",
    "id": "conn_magna"
  }
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/magna-claim-allocation/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "allocationId": "example-allocationId",
    "sender": "0x0000000000000000000000000000000000000000"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.