Description
Add a multiple select menu where the user can select from a pre-determined array of currencies to get their score calculated based on these choices. For more info, please follow the link: https://github.com/BalloonBox-Inc/SCRTSibyl_phase2#detailed-product-description-bulb-high_brightness-toolbox
Array of allowed currencies
[ "USD", "EUR", "BTC", "ETH", USDT", "USDC", "BNB", "XRP", "SCRT" ]
Dealing with the result
Send the selected currencies as an array of strings to the following endpoints through the key currencies:
- /credit_score/plaid
- /credit_score/coinbase
For example:
Add currencies to the constant body at line 81 in the case of plaid and line 31 in the case of coinbase.
const body = { currencies: ["USD", "BNB", "SCRT"], ... };
PS.: keplr_token: 'not-needed-yet' can be removed from body. The backend won't need it.
To do
Description
Add a multiple select menu where the user can select from a pre-determined array of currencies to get their score calculated based on these choices. For more info, please follow the link: https://github.com/BalloonBox-Inc/SCRTSibyl_phase2#detailed-product-description-bulb-high_brightness-toolbox
Array of allowed currencies
[ "USD", "EUR", "BTC", "ETH", USDT", "USDC", "BNB", "XRP", "SCRT" ]Dealing with the result
Send the selected currencies as an array of strings to the following endpoints through the key
currencies:For example:
Add
currenciesto the constantbodyat line 81 in the case of plaid and line 31 in the case of coinbase.const body = { currencies: ["USD", "BNB", "SCRT"], ... };PS.:
keplr_token: 'not-needed-yet'can be removed frombody. The backend won't need it.To do
currenciesto the appropriate endpoints