Canton SDK/Token Standard APIs Allocation Instruction OpenAPI Reference
Allocation Instruction OpenAPI Reference
Allocation Instruction OpenAPI Reference
POST /registry/allocation-instruction/v1/allocation-factoryGet the factory and choice context for creating allocations using the AllocationFactory_Allocate choice.
Example request:
POST /registry/allocation-instruction/v1/allocation-factory HTTP/1.1
Host: example.com
Content-Type: application/json
{
"choiceArguments": {},
"excludeDebugFields": true
}
200 OK –
ok
Example response:
HTTP/1.1 200 OK Content-Type: application/json { "factoryId": "string", "choiceContext": { "choiceContextData": {}, "disclosedContracts": [ { "templateId": "string", "contractId": "string", "createdEventBlob": "string", "synchronizerId": "string", "debugPackageName": "string", "debugPayload": {}, "debugCreatedAt": "2026-06-04T17:18:55.929896" } ] } }
bad request
Example response:
HTTP/1.1 400 Bad Request Content-Type: application/json { "error": "string" }
not found
Example response:
HTTP/1.1 404 Not Found Content-Type: application/json { "error": "string" }
Comments