pub struct DecodeRawTransactionHexRis {
Show 28 fields pub locktime: i32, pub transaction_hash: String, pub v_size: i32, pub version: i32, pub vin: Vec<DecodeRawTransactionHexRiszVin>, pub vout: Vec<DecodeRawTransactionHexRiszVout>, pub weight: Option<i32>, 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 max_fee_per_gas: Option<String>, pub max_fee_priority_per_gas: 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>, pub expiry_height: i32, pub overwintered: bool, pub saplinged: bool, pub value_balance: String, pub version_group_id: String,
}
Expand description

DecodeRawTransactionHexRis : Represents the specific transaction data according to the blockchain

Fields

locktime: i32

Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid.

transaction_hash: String

Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions.

v_size: i32

Represents the virtual size of this transaction.

version: i32

Represents the transaction version number.

vin: Vec<DecodeRawTransactionHexRiszVin>

Represents the Inputs of the transaction

vout: Vec<DecodeRawTransactionHexRiszVout>

Represents the Inputs of the transaction

weight: Option<i32>

Represents the size of a block, measured in weight units and including the segwit discount.

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.

max_fee_per_gas: Option<String>

Defines the maximum amount that customer is willing to pay per unit of gas to get his transaction included in a block.

max_fee_priority_per_gas: Option<String>

Represents determined by the user value that is paid directly to miners.

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.

expiry_height: i32

Represents a block height after which the transaction will expire.

overwintered: bool

"Overwinter" is the network upgrade for the Zcash blockchain.

saplinged: bool

Defines if the transaction includes sapling or not.

value_balance: String

Defines the transaction value balance.

version_group_id: String

Represents the transaction version group ID

Implementations

Represents the specific transaction data according to the blockchain

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more