Trait reactions_rpc::ReactionsRuntimeApi[][src]

pub trait ReactionsRuntimeApi<Block, AccountId, BlockNumber>: Core<Block> where
    Block: Block,
    AccountId: Codec,
    BlockNumber: Codec
{ pub fn get_reactions_by_ids(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        reaction_ids: Vec<u64, Global>
    ) -> Result<Vec<FlatReaction<AccountId, BlockNumber>, Global>, Self::Error> { ... }
pub fn get_reactions_by_ids_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        reaction_ids: Vec<u64, Global>
    ) -> Result<Vec<FlatReaction<AccountId, BlockNumber>, Global>, Self::Error> { ... }
pub fn get_reactions_by_post_id(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        post_id: u64,
        limit: u64,
        offset: u64
    ) -> Result<Vec<FlatReaction<AccountId, BlockNumber>, Global>, Self::Error> { ... }
pub fn get_reactions_by_post_id_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        post_id: u64,
        limit: u64,
        offset: u64
    ) -> Result<Vec<FlatReaction<AccountId, BlockNumber>, Global>, Self::Error> { ... }
pub fn get_reaction_kinds_by_post_ids_and_reactor(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        post_ids: Vec<u64, Global>,
        reactor: AccountId
    ) -> Result<BTreeMap<u64, ReactionKind>, Self::Error> { ... }
pub fn get_reaction_kinds_by_post_ids_and_reactor_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        post_ids: Vec<u64, Global>,
        reactor: AccountId
    ) -> Result<BTreeMap<u64, ReactionKind>, Self::Error> { ... } }

Provided methods

pub fn get_reactions_by_ids(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    reaction_ids: Vec<u64, Global>
) -> Result<Vec<FlatReaction<AccountId, BlockNumber>, Global>, Self::Error>
[src]

pub fn get_reactions_by_ids_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    reaction_ids: Vec<u64, Global>
) -> Result<Vec<FlatReaction<AccountId, BlockNumber>, Global>, Self::Error>
[src]

pub fn get_reactions_by_post_id(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    post_id: u64,
    limit: u64,
    offset: u64
) -> Result<Vec<FlatReaction<AccountId, BlockNumber>, Global>, Self::Error>
[src]

pub fn get_reactions_by_post_id_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    post_id: u64,
    limit: u64,
    offset: u64
) -> Result<Vec<FlatReaction<AccountId, BlockNumber>, Global>, Self::Error>
[src]

pub fn get_reaction_kinds_by_post_ids_and_reactor(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    post_ids: Vec<u64, Global>,
    reactor: AccountId
) -> Result<BTreeMap<u64, ReactionKind>, Self::Error>
[src]

pub fn get_reaction_kinds_by_post_ids_and_reactor_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    post_ids: Vec<u64, Global>,
    reactor: AccountId
) -> Result<BTreeMap<u64, ReactionKind>, Self::Error>
[src]

Loading content...

Trait Implementations

impl<Block, AccountId, BlockNumber, __Sr_Api_Error__> RuntimeApiInfo for dyn ReactionsApi<Block, AccountId, BlockNumber, Error = __Sr_Api_Error__> + 'static where
    Block: Block
[src]

Implementors

Loading content...