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