getTransactionByHash method

Future<TransactionInformation> getTransactionByHash(
  1. String transactionHash
)

Returns the information about a transaction requested by transaction hash transactionHash.

Implementation

Future<TransactionInformation> getTransactionByHash(String transactionHash) {
  return _makeRPCCall<Map<String, dynamic>>('xcb_getTransactionByHash', [
    transactionHash,
  ]).then((s) => TransactionInformation.fromMap(s));
}