pub struct AccountProof {
pub address: Address,
pub balance: U256,
pub nonce: u64,
pub code_hash: B256,
pub storage_hash: B256,
pub account_proof: Vec<Bytes>,
pub storage_proofs: Vec<StorageProof>,
}Expand description
eth_getProof response: account leaf plus any number of storage proofs.
Fields§
§address: AddressAccount address.
balance: U256Account balance.
nonce: u64Account nonce.
code_hash: B256keccak of the account’s code.
storage_hash: B256Root of the account’s storage trie.
account_proof: Vec<Bytes>Trie nodes from the state root down to the account leaf.
storage_proofs: Vec<StorageProof>Proofs for the requested slots, in request order.
Trait Implementations§
Source§impl Clone for AccountProof
impl Clone for AccountProof
Source§fn clone(&self) -> AccountProof
fn clone(&self) -> AccountProof
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AccountProof
impl RefUnwindSafe for AccountProof
impl Send for AccountProof
impl Sync for AccountProof
impl Unpin for AccountProof
impl UnsafeUnpin for AccountProof
impl UnwindSafe for AccountProof
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more