class
TransactionRecordQuery
extendsQuery
<TransactionRecord
>
Get the record for a transaction.
var record = new TransactionRecordQuery()
.setTransactionId(myTransactionId)
.execute(client);
const record = await new TransactionRecordQuery({
transactionId: myTransactionId,
}).execute(client);
record, err := NewTransactionRecordQuery().
SetTransactionID(response.TransactionID).
SetNodeAccountIDs([]AccountID{response.NodeID}).
Execute(client)
if err != nil {
println(err.Error())
}
Whether the response should include the records of any child transactions spawned by the top-level transaction with the given transactionID.
Whether records of processing duplicate transactions should be returned along with the record of processing the first consensus transaction with the given id whose status was neither INVALID_NODE_ACCOUNT nor INVALID_PAYER_SIGNATURE; or, if no such record exists, the record of processing the first transaction to reach consensus with the given transaction id..
transactionId
: TransactionId
The transaction ID to query the record for