Trait runtime_common::apis::PoolFeesApi
source · pub trait PoolFeesApi<Block: BlockT, PoolId, FeeId, AccountId, Balance, Rate>: Core<Block>where
PoolId: Codec,
FeeId: Codec,
AccountId: Codec,
Balance: Codec,
Rate: Codec,{
// Provided method
fn list_fees(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
pool_id: PoolId
) -> Result<Option<PoolFeesList<FeeId, AccountId, Balance, Rate>>, ApiError> { ... }
}
Expand description
Runtime for pallet-pool-fees.
Note: The runtime api is pallet specific, while the RPC methods are more focused on domain-specific logic