Struct cryptoapis::models::decode_raw_transaction_hex_risb22::DecodeRawTransactionHexRisb22
source · [−]pub struct DecodeRawTransactionHexRisb22 {Show 14 fields
pub approximate_fee: Option<String>,
pub approximate_minimum_required_fee: Option<String>,
pub gas_limit: String,
pub gas_paid_for_data: Option<String>,
pub gas_price: Option<String>,
pub input_data: Option<String>,
pub nonce: i32,
pub r: Option<String>,
pub recipient: String,
pub s: Option<String>,
pub sender: String,
pub _type: i32,
pub v: Option<String>,
pub value: Option<String>,
}
Expand description
DecodeRawTransactionHexRisb22 : Binance Smart Chain
Fields
approximate_fee: Option<String>
Defines the approximate fee value. When isConfirmed is True - Defines the amount of the transaction fee When isConfirmed is False - For ETH-based blockchains this attribute represents the max fee value.
approximate_minimum_required_fee: Option<String>
Defines the approximate minimum fee that is required for the transaction.
gas_limit: String
Represents the amount of gas used by this specific transaction alone.
gas_paid_for_data: Option<String>
Represents the amount of gas paid for the data in the transaction.
gas_price: Option<String>
Represents the price offered to the miner to purchase this amount of gas.
input_data: Option<String>
Represents additional information that is required for the transaction.
nonce: i32
Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender’s address.
r: Option<String>
Represents output of an ECDSA signature.
recipient: String
The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient.
s: Option<String>
Represents output of an ECDSA signature.
sender: String
Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender.
_type: i32
Specifies the transaction type as one from three options: if response returns a \"0\"
it means the raw transaction includes legacy transaction data, if it is \"1\"
- includes access lists for EIP2930, and if it is \"2\"
- EIP1559 data.
v: Option<String>
Defines the the recovery id.
value: Option<String>
Represents the sent/received amount.
Implementations
Trait Implementations
sourceimpl Clone for DecodeRawTransactionHexRisb22
impl Clone for DecodeRawTransactionHexRisb22
sourcefn clone(&self) -> DecodeRawTransactionHexRisb22
fn clone(&self) -> DecodeRawTransactionHexRisb22
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DecodeRawTransactionHexRisb22
impl Debug for DecodeRawTransactionHexRisb22
sourceimpl<'de> Deserialize<'de> for DecodeRawTransactionHexRisb22
impl<'de> Deserialize<'de> for DecodeRawTransactionHexRisb22
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<DecodeRawTransactionHexRisb22> for DecodeRawTransactionHexRisb22
impl PartialEq<DecodeRawTransactionHexRisb22> for DecodeRawTransactionHexRisb22
sourcefn eq(&self, other: &DecodeRawTransactionHexRisb22) -> bool
fn eq(&self, other: &DecodeRawTransactionHexRisb22) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for DecodeRawTransactionHexRisb22
Auto Trait Implementations
impl RefUnwindSafe for DecodeRawTransactionHexRisb22
impl Send for DecodeRawTransactionHexRisb22
impl Sync for DecodeRawTransactionHexRisb22
impl Unpin for DecodeRawTransactionHexRisb22
impl UnwindSafe for DecodeRawTransactionHexRisb22
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more