v1

latestOpenAPI 3.0.02026-07-22343639.7 KB
public

Get the factory and choice context for creating allocations using the AllocationFactory_Allocate choice.

post/api/token-standard/v0/registrars/{registrarParty}/registry/allocation-instruction/v1/allocation-factory

Path parameters

registrarPartystring required

The registrar party.

Request body

choiceArgumentsobject required

The arguments that are intended to be passed to the choice provided by the factory. To avoid repeating the Daml type definitions, they are specified as JSON objects. However the concrete format is given by how the choice arguments are encoded using the Daml JSON API (with the extraArgs.context and extraArgs.meta fields set to the empty object).

The choice arguments are provided so that the registry can also provide choice-argument specific contracts, e.g., the configuration for a specific instrument-id.

excludeDebugFieldsboolean

If set to true, the response will not include debug fields.

Response

ok

factoryIdstring required

The contract ID of the contract of the factory which can be used to create instruction.