Skip to main content

Wallets

Version: v1

/api/wallets/history

GET

Summary:

Get deposits and withdrawals of user

Parameters
NameLocated inDescriptionRequiredSchema
API-PublicKeyheaderNo
API-SignatureheaderNo
Responses

Json example:

{
"deposits": [
{
"type": "string",
"date": "2024-08-14T08:46:37.413Z",
"amount": 0,
"currencyCode": "string",
"txId": "string"
}
],
"withdrawals": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"statusId": 0,
"status": {
"code": 0,
"value": "string",
"valueKey": "string"
},
"amount": 0,
"calculatedStockCommission": {
"amount": 0,
"currencyCode": "string"
},
"actualNetworkCommission": 0,
"networkCommissionCurrencyCode": "string",
"withdrawalAddress": "string",
"userId": "string",
"txId": "string",
"dateTimeCreated": "2024-08-14T08:46:37.413Z",
"dateTimeProcessed": "2024-08-14T08:46:37.413Z",
"currencyCode": "string",
"memo": "string",
"requestWithdrawalTransactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"errorText": "string",
"chain": 0,
"commissionInWithdrawalCurrency": 0,
"amountAfterCommission": 0
}
]
}
CodeDescription
200Success

/api/wallets/withdrawal

POST

Summary:

Withdraw money

Parameters

Body example:

{
"address": "string",
"addressPublicKey": "string",
"amount": 0,
"currencyCode": "string",
"chain": 0
}
NameLocated inDescriptionRequiredSchema
API-PublicKeyheaderNo
API-SignatureheaderNo
Responses
CodeDescription
200Success

/api/wallets/balances

GET

Summary:

Get user balances (available and blocked in orders)

Parameters
NameLocated inDescriptionRequiredSchema
API-PublicKeyheaderNo
API-SignatureheaderNo
Responses

Json example:

{
"balances": [
{
"amount": 0,
"amountBtc": 0,
"amountUsdt": 0,
"amountInternalToken": 0,
"currencyCode": "string",
"currencyName": "string",
"digits": 0,
"currencyIsFiat": true
}
],
"balancesBlockedInOrder": [
{
"amount": 0,
"amountBtc": 0,
"amountUsdt": 0,
"amountInternalToken": 0,
"currencyCode": "string",
"currencyName": "string",
"digits": 0,
"currencyIsFiat": true
}
],
"balancesInCurrencyOfferingsVesting": [
{
"amount": 0,
"amountBtc": 0,
"amountUsdt": 0,
"amountInternalToken": 0,
"currencyCode": "string",
"currencyName": "string",
"digits": 0,
"currencyIsFiat": true
}
],
"withdrawalLimits": [
{
"id": 0,
"currencyCode": "string",
"minAmount": 0
}
],
"currencies": [
{
"code": "string",
"value": "string",
"isHalted": true,
"isFiat": true,
"digits": 0,
"allowDeposits": true,
"allowWithdrawals": true,
"networkConfirmations": "string",
"website": "string",
"whitePaper": "string",
"about": "string",
"issuingTime": "string",
"issuingPrice": "string",
"totalSupply": "string",
"currencyChains": [
{
"chainId": 0,
"isNativeToken": true,
"contractAddress": "string",
"chainName": "string",
"type": 0
}
],
"category": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"category": "string"
}
}
],
"totalBtc": 0,
"totalUsdt": 0,
"totalInternalToken": 0,
"totalInOrderBtc": 0,
"totalInOrderUsdt": 0,
"totalInOrderInternalToken": 0,
"cantRefill": true,
"cantWithdraw": true,
"digitsBtc": 0,
"digitsUsdt": 0,
"digitsInternalToken": 0
}
CodeDescription
200Success

/api/deposit-address/{currencyCode}

GET

Summary:

Get information for deposit

Parameters
NameLocated inDescriptionRequiredSchema
currencyCodepathсurrencyCodeYesstring
API-PublicKeyheaderNo
API-SignatureheaderNo
Responses

Json example:

[
{
"address": "string",
"addressPublicKey": "string",
"addressMemo": "string",
"comissionPercent": 0,
"comissionMinimum": 0,
"minAmount": 0,
"chain": 0,
"chainContractAddress": "string"
}
]
CodeDescription
200Success

/api/withdrawals/limits

GET

Responses

Json example:

[
{
"id": 0,
"currencyCode": "string",
"minAmount": 0
}
]~~~~
CodeDescription
200Success
API-PublicKeyheader
API-Signatureheader