Questions tagged [json-rpc]

This tag should be used for questions relating to the Bitcoin Core/bitcoind JSON-RPC interface.

Filter by
Sorted by
Tagged with
0
votes
1answer
181 views

Bitcoind rpc AddLocal(ip:port) and Disover: IPv4 eth0: ip missing Amazon AWS CentOS

I have a server at DigitalOcean with Ubuntu installed and bitcoind with rpc which IS working. With my Amazon AWS CentOs server bitcoin-cli is working but not EasyBitcoin-PHP, it's returning 0: $...
0
votes
1answer
1k views

What should a stratum server do with “mining.submit”?

I write some stratum server, for mining in the pool. The answer goes from the client to my server: {"method": "mining.submit", "params": ["g", "06a8", "01", "1d025f83", "c03f38ac"], "id":4} ...
0
votes
1answer
294 views

Freebsd Bitcoind doesn't read config correctly

When I try to connect to my bitcoind server with the username and password in my bitcoin.conf I get a 401 error. When I set an username and password in the bitcoind parameters(bitcoind -rpcuser=... -...
0
votes
1answer
1k views

json_rpc_call solo mining with bitcoin running on Windows 7 for antminer

I setup BitcoinD on a Windows 7 PC. I configured for defaults except user/pw and rpcallowip=192.168.1.0/255.255.255.0. have also tried 192.168.1.* with no luck. I ultimately want to use an Antminer ...
0
votes
0answers
585 views

Get work on custom solo mining software

I'm making a bitcoin solo miner, what is the URL to get the current block header a with JSON call? I also need the URL where the work will be sent if a valid solution is found. Right now I'm trying ...
0
votes
0answers
279 views

json RPC Blockchain not Working

I am unable to connect to the Blockchain API, here is the code: $rpc_host = 'rpc.blockchain.info';$rpc_port = '80'; $rpc_user = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'; $rpc_pass = 'PASSWORD'; ...
0
votes
1answer
994 views

How to get a complete list of transactions?

listtransactions - 9 provides the latest transactions and actually all =) How to get all transactions?
0
votes
0answers
523 views

Transaction not showing in wallet

I am playing around with testnet and bitcoin rpc. I have send a test transaction of 1 bitcoin as can be seen here however in my wallet it still shows that the account has 5.2 bitcoin which is what it ...
0
votes
2answers
368 views

jsonRPCClient Error with php variables

I am trying to run the following code $betamount=$_POST['bet']; $litecoin->move($myusername,Admin,$betamount); but it will not work. it does however work when i replace $betamount with an ...
0
votes
0answers
909 views

Can I force json_encode in PHP to output 8 digits after dot for RPC?

after reading bitcoin wiki "Proper money handling" I supposed that there shouldn't be any precision problems. However, sending/moving for instance 16999999.99999999 sends/moves 17000000. I figured ...
0
votes
2answers
165 views

How to use “lockunspent” in bitcoin core wallet console?

Try to use the Lockunspend RPC in bitcoin core wallet console. But always get wrong, and google it can't find answer. My input is: lockunspent false "[{"txid":"...
-1
votes
1answer
156 views

trying to transfer my bitcoins from my unsynced bitcoin qt wallet to new online wallet by createrawtransaction but it comes with error code [closed]

it comes up with error Error:error parsing JSON: [{txid:my txid,vout:my transaction number},...] so whats this mean and what can i do to correct it please? im not very it inclined cheers :-)
-1
votes
1answer
305 views

Anybody using bitcore.io? I can't seem to make it work properly

I've installed bitcore.io on a folder for my nodejs, using the npm command. npm install bitcore npm install classtool Of course, I tried to run an example code, the one is shown at their website. I ...
-2
votes
1answer
132 views

Does rippled store any information on accounts and addresses?

I am looking at Ripple API overview, and it looks to take a different approach from Bitcoin as to handling one's private keys. In Bitcoin, one requires to use a wallet and often a password to that ...
-2
votes
1answer
2k views

Can't connect locally with API

I try to connect locally with bitcoin client using the API but I get 404 on request testnet=1 server = 1 rpcport=8332 rpcuser=myuser rpcpassword=mypass I was installing bitcoind on ubuntu ...

1
10 11 12 13
14