submitTransaction method

Future submitTransaction(
  1. TransactionRequest transaction
)

Implementation

Future<dynamic> submitTransaction(TransactionRequest transaction) async {
  final path = "$endpoint/transactions";
  final resp = await http.post(path, data: transaction);
  return resp.data;
}