Type Alias hedera::TransactionReceiptQuery
source · pub type TransactionReceiptQuery = Query<TransactionReceiptQueryData>;
Expand description
Get the receipt of a transaction, given its transaction ID.
Once a transaction reaches consensus, then information about whether it succeeded or failed will be available until the end of the receipt period.
Aliased Type§
struct TransactionReceiptQuery { /* private fields */ }
Implementations§
source§impl TransactionReceiptQuery
impl TransactionReceiptQuery
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 receipt 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 receipt is being requested.
sourcepub fn get_include_children(&self) -> bool
pub fn get_include_children(&self) -> bool
Whether the response should include the receipts 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 receipts 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 receipts 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 receipts of processing duplicate transactions should be returned.
sourcepub fn get_validate_status(&self) -> bool
pub fn get_validate_status(&self) -> bool
Whether the receipt status should be validated.
sourcepub fn validate_status(&mut self, validate: bool) -> &mut Self
pub fn validate_status(&mut self, validate: bool) -> &mut Self
Whether the receipt status should be validated.