clementine_core::citrea

Trait LightClientProverRpcClient

Source
pub trait LightClientProverRpcClient: ClientT {
    // Provided method
    fn get_light_client_proof_by_l1_height<'life0, 'async_trait>(
        &'life0 self,
        l1_height: u64,
    ) -> Pin<Box<dyn Future<Output = Result<Option<LightClientProofResponse>, Error>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Client implementation for the LightClientProverRpc RPC API.

Provided Methods§

Source

fn get_light_client_proof_by_l1_height<'life0, 'async_trait>( &'life0 self, l1_height: u64, ) -> Pin<Box<dyn Future<Output = Result<Option<LightClientProofResponse>, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Generate state transition data for the given L1 block height, and return the data as a borsh serialized hex string.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<TypeJsonRpseeInteral> LightClientProverRpcClient for TypeJsonRpseeInteral
where TypeJsonRpseeInteral: ClientT,