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