Assets
Get Assets of Pool
GET
https://api.myapi.com/get-assets-by-pool-address/:pool-address
Gets a list of asset data owned by the specific pool
Request Body
Name | Type | Description |
---|---|---|
asset_address* | address | can be or the of the asset |
asset_name* | string | name of the asset |
asset_type* | string | type of the asset |
financing_date* | string | financing date of the asset Date format: Validation: Financing date should be less than Maturity date |
maturity_date* | string | maturity date of the asset Date format: |
financing_fee* | float/int | financing fee of the asset |
amount_invested* | float/int | amount invested in the asset |
currency* | string | currency of the asset token |
Example
Good to know: The API should return a list of objects containing data of the assets held by a particular pool. All assets should belong to the same pool.
Last updated