encodeSubmission method

Future<String> encodeSubmission(
  1. TransactionEncodeSubmissionRequest transaction
)

Implementation

Future<String> encodeSubmission(TransactionEncodeSubmissionRequest transaction) async {
  final path = "$endpoint/transactions/encode_submission";
  final resp = await http.post(path, data: transaction);
  return resp.data;
}