pub trait RewardsAPI<Block: BlockT, EthAddress, Balance>: Core<Block>where
EthAddress: Codec,
Balance: Codec + MaybeFromStr + MaybeDisplay,{
// Provided methods
fn claimables(
&self,
__runtime_api_at_param__: &BlockId<Block>,
eth_address: EthAddress
) -> Result<Vec<BalanceInfo<Balance>>, ApiError> { ... }
fn claimables_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
eth_address: EthAddress
) -> Result<Vec<BalanceInfo<Balance>>, ApiError> { ... }
}
The identifier of the runtime api.
The version of the runtime api.