Futuric-WaaS Documentation
Futuric Block Documentation
Futuric Block Documentation
  • Welcome to the Futuric-WaaS
  • Get Started
    • Get Started with Futuric Block
    • Adding Users
    • Adding Supported Chain
    • Adding Supported Coin
  • Integration Documentation
    • Prerequisites
    • API Authentication
    • Supported Blockchains
  • API Documentation
    • Quick Start
Powered by GitBook
On this page
  • Create Account Escrow
  • Create User Escrow
  • Supported Coin
  • Create Asset
  • Escrow Account Query
  • Withdraw
  • Transaction Verify
  • Deposit Query
  • Withdrawal Query
  1. API Documentation

Quick Start

PreviousAPI Documentation

Last updated 6 months ago

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

Variable Name
Value Type
Optional
Example

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

Variable Name
Value Type
Optional
Example

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

Create Asset

Add the required coins, such as TRX_TRX, BSC_BNB, and TRX_USDT.

POST: Create Asset

Variable Name
Value Type
Optional
Example

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

Variable Name
Value Type
Optional
Example

escrowId

string

No

"1003A22238651"

Withdraw

Use this withdrawal interface to allow the account to withdraw to a blockchain address.

POST: Withdraw

Variable Name
Value Type
Optional
Example

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

Variable Name
Value Type
Optional
Example

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

Variable Name
Value Type
Optional
Example

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

Variable Name
Value Type
Optional
Example

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

http://demo-waas-gateway.futuricblock.com/api/v2/wallet/account/escrow/create/new?api-version=2.0
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/user/escrow/create/new?api-version=2.0
http://demo-waas-gateway.futuricblock.com/api/v2/chain/system/coins?api-version=2.0
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/escrow/assetcreate?api-version=2.0
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/escrow/query?api-version=2.0
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/escrow/withdraw?api-version=2.0
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/escrow/transaction/verify?api-version=2.0
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/escrow/deposit/query?api-version=2.0
http://demo-waas-gateway.futuricblock.com/api/v2/wallet/escrow/withdraw/query?api-version=2.0