Cryptocurrency Transfers
Overview
Callbacks for cryptocurrency transfers can be categorized into four different notification types:
CRYPTO_DEPOSIT_CREATED
CRYPTO_DEPOSIT_UPDATED
CRYPTO_WITHDRAWAL_CREATED
CRYPTO_WITHDRAWAL_UPDATED
All four notifications have the same data field form. These notifications are sent when a cryptocurrency deposit is received, when a withdrawal is created or when either of the two is updated.
The status field describes the state of the transfer and can be any of the following values:
Pending
Frozen
Failed
Completed
Failed
and Completed
are both terminal states. Deposits will be Frozen if they don’t pass AML checks.
Data Object:
Field | Description |
---|---|
AccountsId | Associated account Id (will be deprecated) |
TransactionsId | Associated transaction Id |
SourceAccountsId | Associated source account |
DestinationAccountsId | Associated destination account |
TransactionHash | Transaction hash |
SourceAddress | Transfer source address |
DestinationAddress | Transfer destination address |
Amount.Asset | Asset code |
Amount.Amount | Amount deposited or withdrawn |
NetworkFee.Asset | Network fee asset code |
NetworkFee.Amount | Network fee amount |
Status | Transfer status |
Data Example
Last updated