Skip to main content

has_config

Function has_config 

Source
pub async fn has_config<P: Provider<TempoNetwork>>(
    provider: &P,
    account: Address,
    config: &ConfigurableAccountConfig,
) -> Result<bool>
Expand description

Tells whether config is still the configuration of account at the latest block. Fails when the commitment cannot be read, so that a failing RPC is not taken for a changed configuration.