transactionsByHash method
Return the /search/transactions response for transactions (only one) with the specified hash. @param {string} transactionHash The hash of the transaction to return. @returns {Promise<any>} The response body that was provided by the server. @private
Implementation
Future<rosetta.SearchTransactionsResponse> transactionsByHash(
String transactionHash,
) async {
assert(networkIdentifier != null, 'Cannot get networkIdentifier.');
final result = await request('/search/transactions', {
'network_identifier': networkIdentifier,
'transaction_identifier': {'hash': transactionHash},
});
return rosetta.SearchTransactionsResponse.fromJson(result);
}