Function casper_client::get_account
source · pub async fn get_account(
rpc_id: JsonRpcId,
node_address: &str,
verbosity: Verbosity,
maybe_block_identifier: Option<BlockIdentifier>,
account_identifier: PublicKey
) -> Result<SuccessResponse<GetAccountResult>, Error>
Expand description
Retrieves an Account
at a given Block
.
Sends a JSON-RPC state_get_account_info
request to the specified node.
For details of the parameters, see the module docs.