POST
/
commit
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>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json

Details of the commit request.

The body is of type object.

Response

200
application/json

Successful commit response.

The response is of type object.