Function diem_json_rpc::data::get_account_state_with_proof
source · pub fn get_account_state_with_proof(
db: &dyn MoveDbReader,
ledger_version: u64,
account_address: AccountAddress,
version: u64
) -> Result<AccountStateWithProofView, JsonRpcError>
Expand description
Returns the account state to the client, alongside a proof relative to the version and ledger_version specified by the client. If version or ledger_version are not specified, the latest known versions will be used.