pub trait AccountReader: Send + Sync {
// 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.