Comment on page

Web3 pool API

Claim

post
/Claim/AddUserClaimable
Add a balance to the specified wallet
post
/Claim/DecreaseUserClaimable
Reduce balance to the specified purse

ContractSettings

post
/ContractSettings/AddTokenToWhitelist
Add a token to the contract whitelist

Info

get
/Info/Contract
Get information about the contract
get
/Info/SupportedTokens
List of supported tokens

Queue

get
/Queue/Status/{queueId}
Get request status

Withdraw

post
/Withdraw
Withdrawing available funds

Schemas

AddTokenToWhitelistModel
{
userAddress* string
User Wallet
token* string
Withdrawal currency
amount* number($double)
Withdrawal amount
}
AddUserClaimbleModel
{
userAddress* string
User Wallet
token* string
Withdrawal currency
amount* number($double)
Withdrawal amount
}
ApiBadRequestResponse
{
errors {...}
nullable: true
}
Bep20Contract
{
name string
nullable: true
contract string
nullable: true
}
ContractBalanceModel
{
currency string
nullable: true
Currency
total number($double)
Total contract balance
reserved number($double)
Reserved for users
free number($double)
Available balance for withdrawal or reservation
fee number($double)
Commission from free balance
}
ContractInfoModel
{
address string
nullable: true
Contract Address
feePercent number($double)
Commission
whiteListedTokens [...]
balances [...]
}
QueryResult
{
requestId integer($int32)
Request Id
}
QueueResult
{
error string
nullable: true
Error description
status string
nullable: true
Request Status
}
WithdrawModel
{
wallet* string
Recipient's wallet
token* string
Withdrawal currency
amount* number($double)
minimum: 0
Withdrawal amount
}