Admin Login
HomeGuidesAPI ReferenceChangelogBlockdaemon Main Docs
Log In
API Reference

Accept, reject, or cancel an OTC trade proposal

Use when a trading party acts on a pending OTCTradeProposal. ACCEPT exercises OTCTradeProposal_Accept. REJECT and CANCEL both exercise OTCTradeProposal_Reject (CANCEL is the API name for the proposer's Reject). Returns an unsigned exercise 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 OTCTradeProposal to act on; supplied via URL path.

Body Params

PrepareOtcTradeProposalTxBody prepares Accept, Reject, or Cancel on a proposal.
CANCEL is the API name for the proposer's Reject (OTCTradeProposal_Reject);
the TradingApp DAR has no Withdraw or Cancel choice.

string
enum
required

ACCEPT, REJECT, or CANCEL — see Action enum values for the exercised choice per action.

Allowed:
string
required

Canton party ID of the acting party (actAs and choice Party argument).

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