cURL
curl --request POST \ --url https://core-api-dev.vanish.trade/commit \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "tx_id": "<string>" }'
{ "status": "pending", "action_type": "deposit", "already_processed": true, "balance_changes": [ { "token_address": "<string>", "change": "<string>" } ] }
Commits a transaction id of user’s any action (deposit/trade/withdraw) to verify and processes balance change.
Details of the commit request.
The body is of type object.
object
Successful commit response.
The response is of type object.