getTransaction method

Implementation

Future<GetTransactionResponse?> getTransaction(GetTransactionOptions options) {
  Commitment commitment = _getCommitment(options.commitment);

  return transactionApi.getTransaction(
    sdkConfig.environment,
    sdkConfig.index,
    options.signature,
    commitment,
  );
}