Trait runtime_common::apis::InvestmentsApi
source · pub trait InvestmentsApi<Block: BlockT, AccountId, InvestmentId, InvestmentPortfolio>: Core<Block>where
AccountId: Codec,
InvestmentId: Codec,
InvestmentPortfolio: Codec,{
// Provided method
fn investment_portfolio(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
account_id: AccountId
) -> Result<Vec<(InvestmentId, InvestmentPortfolio)>, ApiError> { ... }
}
Expand description
Runtime API for investments