Quick Start
Create Account Escrow
Create account escrow and system issued wallet for users to withdraw funds, making it easier to view all withdrawal records.
POST: Create Account Escrow
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/account/escrow/create/new?api-version=2.0
subAccountType
string
No
"Main"
subAccountName
string
Yes
''
escrowType
string
No
"EscrowMain"
Create User Escrow
Create user escrow accounts so that all users have their own independent deposit addresses.
POST: Create User Escrow
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/user/escrow/create/new?api-version=2.0
subUserId
string
No
"SUID-32a0fbe0-bdad-4d68-9734-75b6deb24ca9"
escrowType
string
No
"EscrowMain"
Supported Coin
Query the supported coins in the system, different environments may support different coins.
POST: Supported Coin
http://demo-waas-gateway.futuricblock.com/api/v2/chain/system/coins?api-version=2.0
Create Asset
Add the required coins, such as TRX_TRX
, BSC_BNB
, and TRX_USDT
.
POST: Create Asset
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/escrow/assetcreate?api-version=2.0
escrowId
string
No
"1002U84717091"
coinCodes
string[]
No
["BTC_BTC", "ETH_ETH", "ETH_USDT"]
Escrow Account Query
Obtain the user's deposit address (the user's escrow wallet) through the account.
POST: Escrow Account Query
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/escrow/query?api-version=2.0
escrowId
string
No
"1003A22238651"
Withdraw
Use this withdrawal interface to allow the account to withdraw to a blockchain address.
POST: Withdraw
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/escrow/withdraw?api-version=2.0
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"
Transaction Verify
Use this interface to verify whether the withdrawal record exists.
POST: Transaction Verify
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/escrow/transaction/verify?api-version=2.0
refId
string
No
"REF_10000"
Deposit Query
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
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/escrow/deposit/query?api-version=2.0
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
Withdrawal Query
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
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/escrow/withdraw/query?api-version=2.0
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
Last updated