Subscription returns information on changes in the status of ordered exchange transactions.

{
 "action": "subscribe-private",
 "module": "cantor_service",
 "path": "exchanges/status",
 "hashSignature": "8892f16e0713c5f3e3d7e9fa26c5a5f2817b09fc48fece72ed5712ae33547c92e91e735b1818397136beea760efae61d1449a93e48ee2f80789dfa24830ef720",
 "publicKey": "12345f6f-1b1d-1234-a973-a10b1bdba1a1",
 "requestTimestamp": 1529897422
}
{
  "action": "push",
  "topic": "cantor_service/exchanges/status",
  "message": {
    "exchangeId": "694e6b10-0ce8-4bec-b302-3332b09ae6c2",
    "status": "finished",
    "rate": 1.153331,
    "targetAmount": 23.07
  },
  "timestamp": "1577367751519",
  "seqNo": 16
}

Response details:

Key

Type

Description

exchangeId

string

Identifier of the exchange transaction.

status

string

Transaction status.

rate

decimal

The rate at which the exchange was carried out.

targetAmount

decimal

Funds received from the exchange