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
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: YYYY-MM-DD
. Example: "2020-07-01"
Validation: Financing date should be less than Maturity date
maturity_date*
string
maturity date of the asset
Date format: YYYY-MM-DD
. Example: "2020-07-01"
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