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.
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
json{ "type": "magna-claim-allocation", "payload": { "allocationId": "example-allocationId", "sender": "example-sender" }, "children": [], "connector": { "type": "magna", "id": "conn_magna" }}
bashcurl -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": "example-sender" }}'
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.
