Skip to main content

Commit wallet balance to CeFi trading

POST 

/deposits

Commits amount more of the caller's DeFi wallet balance to CeFi trading.

The tokens are not moved: they stay in the caller's own wallet and the deposit raises an allocation against them, which is refused when the wallet does not cover the caller's whole commitment. Conductor then asks the exchange to credit the same amount and answers 202 with the deposit in crediting. The exchange credits only after it has read the allocation back; the deposit then settles in the background, to completed when the exchange credits it or to rejected once a refused deposit's allocation has been released again. Poll GET /deposits/{id} for the outcome.

One deposit per listing may be in flight at a time: a second request for the same asset_id while the first is still allocating, crediting or releasing answers 409, so a retry after a lost response cannot commit twice.

asset_id names a DeFi listing from GET /assets whose symbol is also traded on CeFi. A CeFi listing answers 404.

Request​

Responses​

Allocation raised and the CeFi credit requested