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

source

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

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

source

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

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

source

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.

source

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.

source

pub fn get_include_duplicates(&self) -> bool

Whether records of processing duplicate transactions should be returned.

source

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

Whether records of processing duplicate transactions should be returned.

source

pub fn get_validate_status(&self) -> bool

Whether records of processing duplicate transactions should be returned.

source

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

Whether the record status should be validated.