pub struct TxEnv {
pub caller: H160,
pub gas_limit: u64,
pub gas_price: U256,
pub gas_priority_fee: Option<U256>,
pub transact_to: TransactTo,
pub value: U256,
pub data: Bytes,
pub chain_id: Option<u64>,
pub nonce: Option<u64>,
pub access_list: Vec<(H160, Vec<U256>)>,
}
Fields
caller: H160
Caller or Author or tx signer
gas_limit: u64
gas_price: U256
gas_priority_fee: Option<U256>
transact_to: TransactTo
value: U256
data: Bytes
chain_id: Option<u64>
nonce: Option<u64>
access_list: Vec<(H160, Vec<U256>)>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TxEnv
impl UnwindSafe for TxEnv
Blanket Implementations
Mutably borrows from an owned value. Read more