Trait dex_manager_rpc::DEXManagerAPIServer
source · pub trait DEXManagerAPIServer<BlockHash, DEXId>: Sized + Send + Sync + 'static {
// Required method
fn list_dex_ids(&self, at: Option<BlockHash>) -> Result<Vec<DEXId>>;
// Provided method
fn into_rpc(self) -> RpcModule<Self>
where BlockHash: Send + Sync + 'static + DeserializeOwned,
DEXId: Send + Sync + 'static + Serialize { ... }
}
Expand description
Server trait implementation for the DEXManagerAPI
RPC API.