Module Tezosx.Tezos_runtime

type account_info = {
  1. balance : Evm_node_lib_dev_tezlink.Tezos_types.Tez.t;
  2. nonce : int64;
  3. public_key : Tezos_base.TzPervasives.Signature.V2.public_key option;
}
val decode_account_info : bytes -> account_info Tezos_base.TzPervasives.tzresult
val extract_field : (account_info -> 'a) -> bytes -> 'a Tezos_base.TzPervasives.tzresult

extract_field f bytes decodes bytes as an account_info and returns f info. Helper for Durable_storage resolvers that only need to project a single field out of the RLP-encoded info.

val encode_account_info : account_info -> bytes