pub trait AccountReader {
// Required method
fn basic_account(
&self,
address: &Address,
) -> ProviderResult<Option<Account>>;
}Expand description
Account reader
Required Methods§
Sourcefn basic_account(&self, address: &Address) -> ProviderResult<Option<Account>>
fn basic_account(&self, address: &Address) -> ProviderResult<Option<Account>>
Get basic account information.
Returns None if the account doesn’t exist.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".