pub trait BlockSubmissionValidationApiServer:
Sized
+ Send
+ Sync
+ 'static {
// Required methods
fn validate_builder_submission_v1<'life0, 'async_trait>(
&'life0 self,
request: BuilderBlockValidationRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn validate_builder_submission_v2<'life0, 'async_trait>(
&'life0 self,
request: BuilderBlockValidationRequestV2,
) -> Pin<Box<dyn Future<Output = RpcResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided method
fn into_rpc(self) -> RpcModule<Self> { ... }
}
Expand description
Server trait implementation for the BlockSubmissionValidationApi
RPC API.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.