Struct hedera::Eip1559EthereumData
source · #[non_exhaustive]pub struct Eip1559EthereumData {
pub chain_id: Vec<u8>,
pub nonce: Vec<u8>,
pub max_priority_gas: Vec<u8>,
pub max_gas: Vec<u8>,
pub gas_limit: Vec<u8>,
pub to: Vec<u8>,
pub value: Vec<u8>,
pub call_data: Vec<u8>,
pub access_list: Vec<Vec<u8>>,
pub recovery_id: Vec<u8>,
pub r: Vec<u8>,
pub s: Vec<u8>,
}
Expand description
Data for an Eip 1559 ethereum transaction.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.chain_id: Vec<u8>
ID of the chain.
nonce: Vec<u8>
Transaction’s nonce.
max_priority_gas: Vec<u8>
An ‘optional’ additional fee in Ethereum that is paid directly to miners in order to incentivize them to include your transaction in a block. Not used in Hedera.
max_gas: Vec<u8>
The maximum amount, in tinybars, that the payer of the hedera transaction is willing to pay to complete the transaction.
gas_limit: Vec<u8>
The amount of gas available for the transaction.
to: Vec<u8>
The receiver of the transaction.
value: Vec<u8>
The transaction value.
call_data: Vec<u8>
The raw call data.
access_list: Vec<Vec<u8>>
Specifies an array of addresses and storage keys that the transaction plans to access.
recovery_id: Vec<u8>
Recovery parameter used to ease the signature verification.
r: Vec<u8>
The R value of the signature.
s: Vec<u8>
The S value of the signature.
Implementations§
Trait Implementations§
source§impl Clone for Eip1559EthereumData
impl Clone for Eip1559EthereumData
source§fn clone(&self) -> Eip1559EthereumData
fn clone(&self) -> Eip1559EthereumData
Returns a copy of the value. Read more
1.0.0 · 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 Eip1559EthereumData
impl RefUnwindSafe for Eip1559EthereumData
impl Send for Eip1559EthereumData
impl Sync for Eip1559EthereumData
impl Unpin for Eip1559EthereumData
impl UnwindSafe for Eip1559EthereumData
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request