Trait plonk_pallet_rpc::PlonkApi [−][src]
pub trait PlonkApi<BlockHash>: Sized + Send + Sync + 'static {
fn get_public_parameters(
&self,
at: Option<BlockHash>
) -> Result<PublicParameters>;
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
where
BlockHash: Send + Sync + 'static + DeserializeOwned,
{ ... }
}
Required methods
fn get_public_parameters(
&self,
at: Option<BlockHash>
) -> Result<PublicParameters>
Provided methods
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> where
BlockHash: Send + Sync + 'static + DeserializeOwned,
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> where
BlockHash: Send + Sync + 'static + DeserializeOwned,
Create an IoDelegate
, wiring rpc calls to the trait methods.