Kagome
Polkadot Runtime Engine in C++17
kagome::api::author::request::PendingExtrinsics Class Referencefinal

Returns all pending extrinsics, potentially grouped by sender. More...

#include <pending_extrinsics.hpp>

Inheritance diagram for kagome::api::author::request::PendingExtrinsics:
Collaboration diagram for kagome::api::author::request::PendingExtrinsics:

Public Member Functions

 PendingExtrinsics (std::shared_ptr< AuthorApi > api)
 
outcome::result< Returnexecute ()
 
- Public Member Functions inherited from kagome::api::details::RequestType< std::vector< primitives::Extrinsic > >
 RequestType ()=default
 
 RequestType (const RequestType &)=delete
 
 RequestType (RequestType &&)=delete
 
virtual ~RequestType ()=default
 
RequestTypeoperator= (const RequestType &)=delete
 
RequestTypeoperator= (RequestType &&)=delete
 
outcome::result< void > init (const jsonrpc::Request::Parameters &params)
 
auto getParam () -> typename std::tuple_element< I, decltype(params_)>::type &
 

Private Attributes

std::shared_ptr< AuthorApiapi_
 

Additional Inherited Members

- Public Types inherited from kagome::api::details::RequestType< std::vector< primitives::Extrinsic > >
using Params = std::tuple< ArgumentTypes... >
 
using Return = std::vector< primitives::Extrinsic >
 

Detailed Description

Returns all pending extrinsics, potentially grouped by sender.

See also
https://github.com/w3f/PSPs/blob/psp-rpc-api/psp-002.md#author_pendingextrinsics

Definition at line 21 of file pending_extrinsics.hpp.

Constructor & Destructor Documentation

kagome::api::author::request::PendingExtrinsics::PendingExtrinsics ( std::shared_ptr< AuthorApi api)
inlineexplicit

Definition at line 24 of file pending_extrinsics.hpp.

Member Function Documentation

outcome::result<Return> kagome::api::author::request::PendingExtrinsics::execute ( )
inlinevirtual

Member Data Documentation

std::shared_ptr<AuthorApi> kagome::api::author::request::PendingExtrinsics::api_
private

Definition at line 32 of file pending_extrinsics.hpp.


The documentation for this class was generated from the following file: