Admin Login
HomeGuidesAPI ReferenceChangelogBlockdaemon Main Docs
Log In
API Reference

Withdraw a locked OTC allocation

Use when the allocating sender releases their own Allocation before venue settlement. Exercises Allocation_Withdraw on the Allocation contract (no venue or counterparty signature). Only works pre-settlement: a settled Allocation is already consumed. 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.

string
required

Daml contract ID of the Allocation to withdraw; supplied via URL path.

Body Params

PrepareOtcTradeWithdrawAllocationTxBody prepares Allocation_Withdraw for one
Allocation the caller created. Releases the locked holding back to the sender.

disclosedContracts
array of objects

Contracts disclosed to the submitter for this transaction.

disclosedContracts
extraArgs
object

Additional choice context and metadata for Allocation_Withdraw.

string
required

Canton party ID of the allocating sender (actAs). Venue signature is not required.

string

Optional transfer leg id. When set, must match the Allocation's transferLegId.

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