Transfer Instruction OpenAPI Reference
Transfer Instruction OpenAPI Reference
POST /registry/transfer-instruction/v1/transfer-factoryGet the factory and choice context for executing a direct transfer.
Example request:
POST /registry/transfer-instruction/v1/transfer-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", "transferKind": "self", "choiceContext": { "choiceContextData": {}, "disclosedContracts": [ { "templateId": "string", "contractId": "string", "createdEventBlob": "string", "synchronizerId": "string", "debugPackageName": "string", "debugPayload": {}, "debugCreatedAt": "2026-05-22T07:05:53.468734" } ] } }
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" }
Get the choice context to accept a transfer instruction.
Parameters:transferInstructionId (string) – The contract ID of the transfer instruction to accept.
Example request:
POST /registry/transfer-instruction/v1/{transferInstructionId}/choice-contexts/accept HTTP/1.1
Host: example.com
Content-Type: application/json
{
"meta": {},
"excludeDebugFields": true
}
200 OK –
ok
Example response:
HTTP/1.1 200 OK Content-Type: application/json { "choiceContextData": {}, "disclosedContracts": [ { "templateId": "string", "contractId": "string", "createdEventBlob": "string", "synchronizerId": "string", "debugPackageName": "string", "debugPayload": {}, "debugCreatedAt": "2026-05-22T07:05:53.468734" } ] }
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" }
Get the choice context to reject a transfer instruction.
Parameters:transferInstructionId (string) – The contract ID of the transfer instruction to reject.
Example request:
POST /registry/transfer-instruction/v1/{transferInstructionId}/choice-contexts/reject HTTP/1.1
Host: example.com
Content-Type: application/json
{
"meta": {},
"excludeDebugFields": true
}
200 OK –
ok
Example response:
HTTP/1.1 200 OK Content-Type: application/json { "choiceContextData": {}, "disclosedContracts": [ { "templateId": "string", "contractId": "string", "createdEventBlob": "string", "synchronizerId": "string", "debugPackageName": "string", "debugPayload": {}, "debugCreatedAt": "2026-05-22T07:05:53.468734" } ] }
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" }
Get the choice context to withdraw a transfer instruction.
Parameters:transferInstructionId (string) – The contract ID of the transfer instruction to withdraw.
Example request:
POST /registry/transfer-instruction/v1/{transferInstructionId}/choice-contexts/withdraw HTTP/1.1
Host: example.com
Content-Type: application/json
{
"meta": {},
"excludeDebugFields": true
}
200 OK –
ok
Example response:
HTTP/1.1 200 OK Content-Type: application/json { "choiceContextData": {}, "disclosedContracts": [ { "templateId": "string", "contractId": "string", "createdEventBlob": "string", "synchronizerId": "string", "debugPackageName": "string", "debugPayload": {}, "debugCreatedAt": "2026-05-22T07:05:53.468734" } ] }
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