Type Alias hedera::TransactionRecordQuery
source · pub type TransactionRecordQuery = Query<TransactionRecordQueryData>;
Expand description
Get the record of a transaction, given its transaction ID.
Aliased Type§
struct TransactionRecordQuery { /* private fields */ }
Implementations§
source§impl TransactionRecordQuery
impl TransactionRecordQuery
sourcepub fn get_transaction_id(&self) -> Option<TransactionId>
pub fn get_transaction_id(&self) -> Option<TransactionId>
Get the ID of the transaction for which the record is being requested.
sourcepub fn transaction_id(&mut self, transaction_id: TransactionId) -> &mut Self
pub fn transaction_id(&mut self, transaction_id: TransactionId) -> &mut Self
Sets the ID of the transaction for which the record is being requested.
sourcepub fn get_include_children(&self) -> bool
pub fn get_include_children(&self) -> bool
Whether the response should include the records of any child transactions spawned by the top-level transaction with the given transaction.
sourcepub fn include_children(&mut self, include: bool) -> &mut Self
pub fn include_children(&mut self, include: bool) -> &mut Self
Whether the response should include the records of any child transactions spawned by the top-level transaction with the given transaction.
sourcepub fn get_include_duplicates(&self) -> bool
pub fn get_include_duplicates(&self) -> bool
Whether records of processing duplicate transactions should be returned.
sourcepub fn include_duplicates(&mut self, include: bool) -> &mut Self
pub fn include_duplicates(&mut self, include: bool) -> &mut Self
Whether records of processing duplicate transactions should be returned.
sourcepub fn get_validate_status(&self) -> bool
pub fn get_validate_status(&self) -> bool
Whether records of processing duplicate transactions should be returned.
sourcepub fn validate_status(&mut self, validate: bool) -> &mut Self
pub fn validate_status(&mut self, validate: bool) -> &mut Self
Whether the record status should be validated.