public string CalculateFee(DictionaryObject transaction)
 {
     return(Http.Post($"{_host}/transactions/calculateFee", transaction));
 }
        public decimal CalculateFee(Transaction transaction)
        {
            var response = Http.Post($"{_host}/transactions/calculateFee", transaction.GetJsonWithSignature()).ParseJsonObject().GetInt("feeAmount");

            return(response);
        }
        public string BatchBroadcast(IEnumerable <Transaction> transactions)
        {
            var data = transactions.Select(t => t.GetJsonWithSignature()).ToArray();

            return(Http.Post($"{_host}/assets/broadcast/batch-transfer", data));
        }
 public string Broadcast(DictionaryObject transaction)
 {
     return(Http.Post($"{_host}/transactions/broadcast", transaction));
 }
 public string Broadcast(Transaction transaction)
 {
     return(Http.Post($"{_host}/transactions/broadcast", transaction.GetJsonWithSignature()));
 }
 public string Post(string url, string data)
 {
     return(Http.Post(_host + url, data));
 }