List User OTC Groups
Returns the user's OTC offers collapsed to one row per token, newest token first. total_quantity sums the quantity of every offer the user made on the token that is not still awaiting chain confirmation (open, accepted, canceled and rejected offers alike). For the offers themselves, use List User OTC Offers.
List User OTC Offers
Returns the user's own OTC offers on one token, newest first, one row per offer. Offers still awaiting chain confirmation are not listed; open, accepted, canceled and rejected ones are. Take the deal_id of an open offer (status = 0) to cancel it.
Sell On OTC
Creates an OTC offer to sell quantity tokens from one of the user's wallets at unitprice per token. The call is **asynchronous**: it records a user transaction (type = 6, create OTC offer) and answers with its transactionid. Poll Get User Transaction until status is 3 (done) or 4 (error); the offer shows up in List User OTC Offers only once it is confirmed on chain.
Cancel OTC Deal
Cancels one of the user's own open OTC offers. The offer is named by its dealid in the path (take it from List User OTC Offers); there is no request body. The cancel is signed by the wallet recorded on the offer, so no walletid is sent.