circle-chevron-rightWALLET

Wallet Address-Deprecated

circle-info

Call this interface to place an order for wallet recharge. It will return the order number, and the amount to be deposit.

POST /merchant/core/mcb/account/walletDeposit

Request

Param
Type
Required
Remark

chain

String

false

Network chain. default: TRC20 TRC20 BEP20

amount

BigDecimal

true

Deposit amount

Response

Param
Type
Required
Remark

orderNo

String

true

Transaction id

userInputDepositAmount

BigDecimal

true

The deposit amount input by the user

actualDepositAmount

BigDecimal

true

The actual amount to be recharged. A decimal may be generated based on userInputDepositAmount

currency

String

true

currency

chain

String

true

Network chain

toAddress

String

true

Wallet deposit address

createTime

Long

true

Order time. Timestamp

expireSecond

Long

true

Validity period (unit: seconds)

Example Response

{
    "success": true,
    "code": 200,
    "msg": "Success",
    "data":
    {
        "orderNo": "CND1896547520597221376",
        "userInputDepositAmount": 20,
        "actualDepositAmount": 20.0377,
        "currency": "USDT",
        "chain": "TRC20",
        "toAddress": "TF9fZHD27TmEznSRHcirWkXj2asg24kl3jg",
        "createTime": 1741007139000,
        "expireSecond": 10800
    }
}

Wallet Deposit Transaction-Deprecated

Note: that if status=fail is not considered the final state, we can manually enter the final status=success (this is a possibility).

Request

Param
Type
Required
Remark

pageNum

Long

true

Current page. Default: 1

pageSize

Long

true

Number of pages per page. Default: 10; Maximum: 100

orderNo

String

false

Transaction id

fromAddress

String

false

Source address

toAddress

String

false

Target address

txId

String

false

Tx hash

status

String

false

Status wait_process: Wait process;

processing: Processing; success: Success; fail: Failed;

startTime

Long

false

Order start time. Millisecond timestamp

endTime

Long

false

Order end time. Millisecond timestamp

Response

Param
Type
Required
Remark

orderNo

String

true

Transaction id

needDepositTxAmount

BigDecimal

true

Order Amount

txAmount

BigDecimal

false

On-chain deposit amount

feeRate

BigDecimal

true

Deposit fee rate. Example: 1 = 1%

feeRateAmount

BigDecimal

true

Deposit fee rate amount

fixedFee

BigDecimal

true

Fixed deposit fee amount

currency

String

true

Currency. Example: USDT

receivedAmount

BigDecimal

false

Received amount

receivedCurrency

String

false

Received currency

chain

String

true

Chain. Example: TRC20

fromAddress

String

false

Source address

toAddress

String

true

Target address

txId

String

false

Tx hash

block

Integer

false

Block Height

confirmTime

Long

false

Transaction confirmation time on the chain. Millisecond timestamp

type

String

true

Type chain_deposit: On-chain deposit

status

String

true

Status wait_process: Pending;

processing: Processing; success: Success; fail: Failed;

remark

String

false

Remark

createTime

Long

true

Order create time.

Millisecond timestamp

updateTime

Long

true

Order update time.

Millisecond timestamp

Example Response

Wallet Flow Chart-v2

1

Query supported coins

2

Create wallet address

3

Query wallet address list

Coin List-v2

Request

Param
Type
Required
Remark

Response

Param
Type
Required
Remark

coinKey

String

true

Coin key

chain

String

true

Chain

coinFullName

String

true

Coin full name

coinName

String

true

Coin name

showCoinDecimal

Integer

true

Coin show decimal

coinDecimal

Integer

true

Coin transaction decimal

blockChainShowName

String

true

Block chain show name

browser

String

true

Wallet address redirect link url

txRefUrl

String

true

Transaction redirect link url

contractAddress

String

true

Contract

enableDeposit

Boolean

true

Enable deposit. true false

enableWithdraw

Boolean

true

Enable withdraw. true false

confirmations

Integer

true

Block confirmation count

enabled

Boolean

true

Enable Coin true false

Example Response

Create Wallet Address-v2

This function is only supported when the parameter enabled=true. Also, You can also automatically generate a wallet address after selecting the coin and chain in the dashboard.

Request

Param
Type
Required
Remark

coinKey

String

true

Coin key

Response

Param
Type
Required
Remark

coinKey

String

true

Coin key

chain

String

true

Chain

coinName

String

true

Coin name

address

String

true

Address

Example Response

Wallet Address List-v2

Request

Param
Type
Required
Remark

Response

Param
Type
Required
Remark

coinKey

String

true

Coin key

chain

String

true

Chain

coinName

String

true

Coin name

address

String

true

Address

Example Response

Wallet Transaction History-v2

Webhook link

Request

Param
Type
Required
Remark

pageNum

Long

true

Current page. Default: 1

pageSize

Long

true

Number of pages per page. Default: 10; Maximum: 100

coinKey

String

false

Coin key

coinName

String

false

Coin name

txHash

String

false

Tx hash

sourceAddress

String

false

Source address

destinationAddress

String

false

Destination address

orderNo

String

false

Wasabi transaction id

type

String

false

Type DEPOSIT WITHDRAW

status

String

false

Status wait_process: Pending;

processing: Processing; success: Success; fail: Failed;

startTime

Long

false

Order start time. Millisecond timestamp The start and end time range cannot exceed 90 days. The default query will retrieve data from the most recent 90 days.

endTime

Long

false

Order end time. Millisecond timestamp The start and end time range cannot exceed 90 days. The default query will retrieve data from the most recent 90 days.

Response

Param
Type
Required
Remark

orderNo

String

true

Wasabi transaction id

coinKey

String

true

Coin key

block

Integer

false

Block Height

sourceAddress

String

true

Source address

destinationAddress

String

true

Destination address

txHash

String

false

Tx hash

txAmount

BigDecimal

false

On-chain transaction amount

transactionTime

Long

false

Transaction time on the chain. Millisecond timestamp

confirmTime

Long

false

Transaction confirmation time on the chain. Millisecond timestamp

coinName

String

true

Coin name

feeRate

BigDecimal

true

Platform fee rate. Example: 1 = 1%

fee

BigDecimal

true

Platform fee rate amount

fixedFee

BigDecimal

true

Platform Fixed fee amount

receivedAmount

BigDecimal

true

Received amount type = DEPOSIT: Amount deposit after deducting platform fees;

type = WITHDRAW: Amount withdraw after deducting platform fees;

receivedCurrency

String

true

Received currency

type

String

true

Type DEPOSIT WITHDRAW

status

String

true

Status wait_process: Pending;

processing: Processing; success: Success; fail: Failed;

message

String

false

Remark

createTime

Long

true

Order create time.

Millisecond timestamp

updateTime

Long

true

Order update time.

Millisecond timestamp

Example Response

Last updated