transactions 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> transactions(
  rosetta.SearchTransactionsRequest req,
) async {
  assert(networkIdentifier != null, 'Cannot get networkIdentifier.');
  final result = await request('/search/transactions', req.toJson());
  return rosetta.SearchTransactionsResponse.fromJson(result);
}