Pool
Gets the data from clients pool.
GET
https://api.myapi.com/get-pool-by-pool-address/:pool-address
All parameters are required, send 0 incase if it is Not Applicable
Request Body
Name | Type | Description |
---|---|---|
current_supply* | float/int | The current supply of the pool . |
nav* | float/int | The latest pool nav Validation: The current nav should not be less than or more than 20% of previous nav. |
tenure* | float/int | The tenure of the proxy token in months. |
issue_size* | float/int | The issue size of the proxy token. |
senior_apy* | float/int | senior apy of pool. |
junior_apy* | float/int | junior apy of the pool. |
token_price* | float/int | price of the proxy token. |
senior_tranche* | float/int | senior tranche of the pool. |
junior_tranche* | float/int | junior tranche of the pool. |
is_active* | Boolean | indicates if the pool is active or not. |
reward_rate* | float/int | can be 0 or the reward rate of the pool. |
Example
Blocksscan Api rendered from investment token address provided in the Pool Form.
When Token Form is submitted, following apis are called from blocksscan and stored in database. Please check that API are rendering data properly, else validation error is thrown.
To fetch the token symbol of the investment token address
GET
https://xdc.blocksscan.io/api/tokens/token_address
You can check your api data from blockscsan https://xdc.blocksscan.io/docs/#/Tokens/get_api_tokens__hash_
Request Body
Name | Type | Description |
---|---|---|
symbol* | String | The token symbol |
Last updated