requestKernelBlockTransfer
mutation · in the family Billing and the wallet
What it does
Ask AlmondTill to move whole kernel blocks you bought to another group. Eligible blocks: untouched, settled at least 90 days ago, never moved before.
Ask AlmondTill to move named kernel blocks to another group whole. Eligible blocks: never-opened, unfrozen stock (approved | transfer_denied) settled ≥ 90 days ago and never moved before (one transfer per block, forever). The ask freezes the blocks at once — they cannot be consumed until AlmondTill approves or denies (freezing most of your stock can starve the wallet; the answer names each block's state). An ineligible block refuses with why; the destination must be another group with a live wallet. Requires the unrestricted capability. Template class A16_BILLING (hand-derived v94).
Before you call
A bearer session from an API key (see Authentication and key hygiene) or a signed-in user.
Capability area: Billing and the wallet — Your platform bill, token purchases and the usage and cost reads.
Roles that may call it:
- Owner
- Manager
- Associate Manager
- An API key whose scope allows
api:requestKernelBlockTransfer
What happens
The named blocks FREEZE the moment you ask — they cannot be consumed until AlmondTill approves or denies (usually within 7 days). Freezing most of your stock can leave the wallet with nothing to run on.
Arguments
| Name | Type | Required | Notes |
|---|---|---|---|
input | RequestKernelBlockTransferInput RequestKernelBlockTransferInput! | yes | The block-transfer ask. |
Returns
KernelBlock [KernelBlock!]! — One kernel block — a settled purchase's stock lifecycle. Blocks consume oldest-first with at most ONE open at a time; a block earmarked for transfer freezes until the decision (it cannot be consumed — freezing most of your stock can starve the wallet, the disclosed strictness); an opened block can never transfer (the purity law); a transferred block records where it went.
Example request
mutation ExampleRequestKernelBlockTransfer($input: RequestKernelBlockTransferInput!) {
requestKernelBlockTransfer(input: $input) {
id
type
caption
status
parentId
rootId
createdAt
updatedAt
revisionNum
revision
tokensPurchased
usdAmountCents
volumeTierCode
approvedAt
openedAt
consumedAt
transferRequestedAt
transferRequestedToOrgGroupId
transferRequestReason
transferDeniedAt
transferDeniedReason
transferredToOrgGroupId
transferredAt
}
}Variables:
{
"input": {
"blockIds": [
"01900000-0000-7000-8000-bd0740020000"
],
"toOrgGroupId": "01900000-0000-7000-8000-f618b0ed0000",
"reason": "Correcting a miscount."
}
}Send it with the envelope naming the version: "extensions": {"at": {"version": {"name":"genesis","number":0}}}.
Example response
{
"data": {
"requestKernelBlockTransfer": [
{
"id": "01900000-0000-7000-8000-37386ae00000",
"type": "<type>",
"caption": "Blue jeans",
"status": "<status>",
"parentId": "01900000-0000-7000-8000-eacdfcfd0000",
"rootId": "01900000-0000-7000-8000-a1295a650000",
"createdAt": "2027-01-31T00:00:00.000Z",
"updatedAt": "2027-01-31T00:00:00.000Z",
"revisionNum": 1,
"revision": "01900000-0000-7000-8000-53c6eea90000",
"tokensPurchased": 1,
"usdAmountCents": 1,
"volumeTierCode": "BJ-001",
"approvedAt": "2027-01-31T00:00:00.000Z",
"openedAt": "2027-01-31T00:00:00.000Z",
"consumedAt": "2027-01-31T00:00:00.000Z",
"transferRequestedAt": "2027-01-31T00:00:00.000Z",
"transferRequestedToOrgGroupId": "01900000-0000-7000-8000-360c771a0000",
"transferRequestReason": "<transfer request reason>",
"transferDeniedAt": "2027-01-31T00:00:00.000Z",
"transferDeniedReason": "<transfer denied reason>",
"transferredToOrgGroupId": "01900000-0000-7000-8000-84b57f250000",
"transferredAt": "2027-01-31T00:00:00.000Z"
}
]
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": {
"name": "genesis",
"number": 0
},
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}Errors this call can answer
VALIDATION/INVALID— Something in the request is not valid. Retry: no. (VALIDATION)AUTHN/REQUIRED— Sign in to do this. Retry: no. (AUTHN)AUTHZ/FORBIDDEN— Your role does not allow this action. Retry: no. (AUTHZ)RATE_LIMIT/THROTTLED— Too many requests in a short time. Retry: yes. (RATE_LIMIT)NOT_FOUND/*— That record could not be found. Retry: no. (NOT_FOUND)CONFLICT/*— The record’s state, or a change made in the meantime, does not allow this; the codes are on the CONFLICT page. (CONFLICT)VALIDATION/VERSION_REQUIRED— The request did not say which app version it came from. Retry: no. (VALIDATION)