Admin Login
HomeGuidesAPI ReferenceChangelogBlockdaemon Main Docs
Log In
API Reference

Prepare OTC trade final settlement

Use when the venue settles an OTCTrade after every transfer leg has been allocated. Exercises OTCTrade_Settle, which nested-exercises Allocation_ExecuteTransfer per leg. Discover Allocation CIDs via ListAllocations (optionally filter by tradeCid), then map transferLegId → allocationContractId. Returns an unsigned transaction for off-chain signing.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
enum
required

caip2 network reference segment

Allowed:
string
required

Daml contract ID of the OTCTrade; supplied via URL path.

Body Params

PrepareOtcTradeSettleTxBody prepares OTCTrade_Settle (venue only) after all legs are allocated.

allocations
object
required

Allocations keyed by transfer leg id. Must cover every transfer leg on the OTCTrade.

disclosedContracts
array of objects

Contracts disclosed to the submitter for this transaction.

disclosedContracts
extraArgs
object

Default ExtraArgs applied to legs that omit their own extraArgs.

string
required

Canton party ID of the venue (controller / actAs).

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json