Trait CommonBlobscanClient
Source pub trait CommonBlobscanClient:
Send
+ Sync
+ Debug {
// Required methods
fn try_with_client(client: Client, config: Config) -> ClientResult<Self>
where Self: Sized;
fn index<'life0, 'async_trait>(
&'life0 self,
block: Block,
transactions: Vec<Transaction>,
blobs: Vec<Blob>,
) -> Pin<Box<dyn Future<Output = ClientResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_block<'life0, 'async_trait>(
&'life0 self,
slot: u32,
) -> Pin<Box<dyn Future<Output = ClientResult<Option<BlobscanBlock>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn handle_reorg<'life0, 'async_trait>(
&'life0 self,
rewinded_blocks: Vec<B256>,
forwarded_blocks: Vec<B256>,
) -> Pin<Box<dyn Future<Output = ClientResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_sync_state<'life0, 'async_trait>(
&'life0 self,
sync_state: BlockchainSyncState,
) -> Pin<Box<dyn Future<Output = ClientResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_sync_state<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ClientResult<Option<BlockchainSyncState>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}