Function safecoin_client::nonce_utils::get_account
source · pub fn get_account(
rpc_client: &RpcClient,
nonce_pubkey: &Pubkey
) -> Result<Account, Error>
Expand description
Get a nonce account from the network.
This is like RpcClient::get_account
except:
- it returns this module’s
Error
type, - it returns an error if any of the checks from
account_identity_ok
fail.