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

source

pub fn get_transaction_id(&self) -> Option<TransactionId>

Get the ID of the transaction for which the receipt is being requested.

source

pub fn transaction_id(&mut self, transaction_id: TransactionId) -> &mut Self

Sets the ID of the transaction for which the receipt is being requested.

source

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.

source

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.

source

pub fn get_include_duplicates(&self) -> bool

Whether receipts of processing duplicate transactions should be returned.

source

pub fn include_duplicates(&mut self, include: bool) -> &mut Self

Whether receipts of processing duplicate transactions should be returned.

source

pub fn get_validate_status(&self) -> bool

Whether the receipt status should be validated.

source

pub fn validate_status(&mut self, validate: bool) -> &mut Self

Whether the receipt status should be validated.