Quick Start
Last updated
Last updated
Create account escrow and system issued wallet for users to withdraw funds, making it easier to view all withdrawal records.
POST: Create Account Escrow
subAccountType
string
No
"Main"
subAccountName
string
Yes
''
escrowType
string
No
"EscrowMain"
Create user escrow accounts so that all users have their own independent deposit addresses.
POST: Create User Escrow
subUserId
string
No
"SUID-32a0fbe0-bdad-4d68-9734-75b6deb24ca9"
escrowType
string
No
"EscrowMain"
Query the supported coins in the system, different environments may support different coins.
POST: Supported Coin
Add the required coins, such as TRX_TRX
, BSC_BNB
, and TRX_USDT
.
POST: Create Asset
escrowId
string
No
"1002U84717091"
coinCodes
string[]
No
["BTC_BTC", "ETH_ETH", "ETH_USDT"]
Obtain the user's deposit address (the user's escrow wallet) through the account.
POST: Escrow Account Query
escrowId
string
No
"1003A22238651"
Use this withdrawal interface to allow the account to withdraw to a blockchain address.
POST: Withdraw
escrowId
string
No
"1001U87472155"
refId
string
No
"REF_10000"
receiverAddress
string
No
TEhDP7xdti6qKvyEFYJK6TyGrYdG8RvxxX
amount
decimal
No
10
coinCode
string
No
"TRX_USDT"
subjectExtra
string
Ye
"Withdrawal Test"
Use this interface to verify whether the withdrawal record exists.
POST: Transaction Verify
refId
string
No
"REF_10000"
Retrieve the status of all deposits, using the eventID to filter unprocessed deposits. Once you receive the response to this request, it confirms that the transaction has been completed on the blockchain.
POST: Deposit Query
eventId
integer
No
1
escrowId
string
Yes
"1001U87472155"
receiverAddress
string
Yes
TEhDP7xdti6qKvyEFYJK6TyGrYdG8RvxxX
txid
string
Yes
"adadadadadada"
chainCode
string
Yes
"BSC"
coinCode
string
Yes
"TRX_USDT"
skip
integer
No
0
limit
integer
No
100
Retrieve the status of all withdrawal requests, using the eventID to filter unprocessed withdrawals. Once you receive the response to this request, it confirms that the transaction has been completed on the blockchain.
POST: Withdrawal Query
eventId
integer
No
1
escrowId
string
Yes
"1001U87472155"
receiverAddress
string
Yes
TEhDP7xdti6qKvyEFYJK6TyGrYdG8RvxxX
txid
string
Yes
"adadadadadada"
chainCode
string
Yes
"BSC"
coinCode
string
Yes
"TRX_USDT"
skip
integer
No
0
limit
integer
No
100