POST /api/external/v1/allocations/off-chain-claim
Headers
| Header | Required | Description |
|---|---|---|
Content-Type | Yes | Must be application/json |
x-magna-api-token | Yes | Your Magna API token |
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
tokenId | string (uuid) | Yes | The token whose allocations are being claimed |
walletAddress | string | Yes | The claiming wallet address |
message | string | Yes | Base64-encoded JSON message that was signed (see below) |
signature | string | Yes | Signature of message produced by walletAddress |
message is a JSON object:
| Field | Type | Description |
|---|---|---|
cexId | string | Identifier of the exchange / custodian processing the claim |
externalWalletAddress | string | The wallet address on the external platform |
externalUserId | string | The user identifier on the external platform |
distributionIds | string[] | Distribution IDs being claimed off-chain |