Struct cryptoapis::models::get_zilliqa_transaction_details_by_transaction_idri::GetZilliqaTransactionDetailsByTransactionIdri [−][src]
pub struct GetZilliqaTransactionDetailsByTransactionIdri { pub fee: Box<GetZilliqaTransactionDetailsByTransactionIdriFee>, pub gas_limit: i32, pub gas_price: i32, pub gas_used: i32, pub mined_in_block_hash: String, pub mined_in_block_height: i32, pub nonce: i32, pub recipients: Vec<GetZilliqaTransactionDetailsByTransactionIdriRecipients>, pub senders: Vec<GetZilliqaTransactionDetailsByTransactionIdriSenders>, pub timestamp: i32, pub transaction_index: i32, pub transaction_status: String, }
Fields
fee: Box<GetZilliqaTransactionDetailsByTransactionIdriFee>
gas_limit: i32
Represents the maximum amount of gas allowed in the block in order to determine how many transactions it can fit.
gas_price: i32
Defines the price of the gas.
gas_used: i32
Defines how much of the gas for the block has been used.
mined_in_block_hash: String
Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
mined_in_block_height: i32
Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block".
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.
recipients: Vec<GetZilliqaTransactionDetailsByTransactionIdriRecipients>
Represents an object of addresses that receive the transactions.
senders: Vec<GetZilliqaTransactionDetailsByTransactionIdriSenders>
Represents an object of addresses that provide the funds.
timestamp: i32
Defines the exact date/time when this block was mined in Unix Timestamp.
transaction_index: i32
Defines the numeric representation of the transaction index.
transaction_status: String
Defines the status of the transaction, whether it is e.g. pending or complete.
Implementations
pub fn new(
fee: GetZilliqaTransactionDetailsByTransactionIdriFee,
gas_limit: i32,
gas_price: i32,
gas_used: i32,
mined_in_block_hash: String,
mined_in_block_height: i32,
nonce: i32,
recipients: Vec<GetZilliqaTransactionDetailsByTransactionIdriRecipients>,
senders: Vec<GetZilliqaTransactionDetailsByTransactionIdriSenders>,
timestamp: i32,
transaction_index: i32,
transaction_status: String
) -> GetZilliqaTransactionDetailsByTransactionIdri
Trait Implementations
fn 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more