Example #1
0
        public string GetRawChangeAddress()
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("getrawchangeaddress");

            return(resp);
        }
Example #2
0
        public string SetTxFee(decimal amount)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("settxfee", amount);

            return(resp);
        }
Example #3
0
        public string GetBlockCount()
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("getblockcount");

            return(resp);
        }
Example #4
0
        public string SendMany(string fromaccount, JObject addresses)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("sendmany", fromaccount, addresses);

            return(resp);
        }
Example #5
0
        public string GetBlock(string blockhash)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("getblock", blockhash);

            return(resp);
        }
Example #6
0
        public string ListUnspent(JArray address)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("listunspent", 1, 999999, address);

            return(resp);
        }
Example #7
0
        public string Move(string fromaccount, string toaccount, decimal amount)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("move", fromaccount, toaccount, amount);

            return(resp);
        }
Example #8
0
        public string GetWalletInfo()
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("getwalletinfo");

            return(resp);
        }
Example #9
0
        public string ImportAddress(string address)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("importaddress ", address);

            return(resp);
        }
Example #10
0
        public string Uptime()
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("uptime");

            return(resp);
        }
Example #11
0
        public string GetUnconfirmedBalance()
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("getunconfirmedbalance");

            return(resp);
        }
Example #12
0
        public string GetTransaction(string txid)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("gettransaction", txid);

            return(resp);
        }
Example #13
0
        public string GetReceivedByAddress(string florincoinaddress)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("getreceivedbyaddress", florincoinaddress);

            return(resp);
        }
Example #14
0
        public string GetReceivedByAccount(string account)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("getreceivedbyaccount", account);

            return(resp);
        }
Example #15
0
        public string ListSinceBlock()
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("listsinceblock");

            return(resp);
        }
Example #16
0
        public string ImportPrivKey(string florincoinprivkey)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("importprivkey ", florincoinprivkey);

            return(resp);
        }
Example #17
0
        public string ListTransactions()
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("listtransactions");

            return(resp);
        }
Example #18
0
        public string ImportWallet(string filename)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("importwallet", filename);

            return(resp);
        }
Example #19
0
        public string LockUnspent(bool unlock, JArray transactions)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("lockunspent", unlock, transactions);

            return(resp);
        }
Example #20
0
        public string KeypoolRefill()
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("keypoolrefill");

            return(resp);
        }
Example #21
0
        public string SendFrom(string fromaccount, string toflorincoinaddress, decimal amount)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("sendfrom", fromaccount, toflorincoinaddress, amount);

            return(resp);
        }
Example #22
0
        public string ListAccounts()
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("listaccounts");

            return(resp);
        }
Example #23
0
        //public string SendToAddress(string florincoinaddress, decimal amount, string comment, string commentto, string txcomment)
        //{
        //    FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
        //    string resp = conn.MakeRequest("sendtoaddress", florincoinaddress, amount, comment, commentto, txcomment);
        //    return resp;
        //}

        public string SendToAddress(string address, decimal amount, string comment, string comment_to, bool subtractfeefromamount, bool replaceable, int conf_target, string estimate_mode, string floData)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("sendtoaddress", address, amount, comment, comment_to, subtractfeefromamount, replaceable, conf_target, estimate_mode, floData);

            return(resp);
        }
Example #24
0
        public string ListAddressGroupings()
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("listaddressgroupings");

            return(resp);
        }
Example #25
0
        public string SetAccount(string florincoinaddress, string account)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("setaccount", florincoinaddress, account);

            return(resp);
        }
Example #26
0
        public string ListLockUnspent()
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("listlockunspent");

            return(resp);
        }
Example #27
0
        public string SignMessage(string florincoinaddress, string message)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("signmessage", florincoinaddress, message);

            return(resp);
        }
Example #28
0
        public string ListReceivedByAddress()
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("listreceivedbyaddress");

            return(resp);
        }
Example #29
0
        public string GetBlockHash(int height)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("getblockhash", height);

            return(resp);
        }
Example #30
0
        public string GetNewAddress(string account)
        {
            FloRPC conn = new FloRPC(username, password, wallet_url, wallet_port);
            string resp = conn.MakeRequest("getnewaddress", account);

            return(resp);
        }