- initBalance (to set a new user's balance for all currencies, available & actual, to 0)
- receives: {userID: [string, required]}
- checkBalance (to check a desired usernames balance of specified currency type)
- receives: {userID: [string, required], currency: [string, required, options: [BTC, LTC, ETH]]}, balanceType: {string, required, options:['available', 'actual']}
- updateBalance (to increment or decrement desired usernames balance of specified currency type)
- receives: {userID: [string, required], update: [integer], currency: [string, required, options: [BTC, LTC, ETH]], balanceType: [string, required (unless isExternal === false)], isExternal: [boolean] }
- returnBalance (response event to 'checkBalance' & 'updateBalance')
- returns: {userID: [string, required], currency: [string, required, options: [BTC, LTC, ETH], balance: [integer], balanceType: [string, options:['available', 'actual']]}
-
Notifications
You must be signed in to change notification settings - Fork 1
CryptocracyExchange/balances
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Cryptocracy Balances Service
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published