Questions tagged [json-rpc]

json-formatted remote procedure calls to communicate with ethereum clients

Filter by
Sorted by
Tagged with
8
votes
2answers
3k views

How can I get notification from geth when I receive ether?

I'd like to get notification from geth when my account receives ether. I'm thinking to type api command eth_getBalance in every minute, in order to check if my account receive ether or not. However, I ...
4
votes
1answer
172 views

Is having an open TCP port dangerous (Mac OSX)?

I was reading this post on reddit where a user got all her ether hacked because she had an open RCP port when deploying a contract. I just used network utility to run a scan and it turns out I have ...
1
vote
1answer
715 views

method not available: solc (solidity compiler) not found

I am using ethereum-ruby to deploy smart contracts. I am using JSON RPC calls to my geth and its working pretty well. But when i use compile_solidity I get: "error"=>{"code"=>-32603, "message"=&...
4
votes
2answers
395 views

How can I make an account in Ruby without using JSON-RPC?

I'd like to build an application with rails. I want to make an account through Ruby. I got the advice that, in order to make an account, I should not use JSON-RPC for security. Instead I should use ...
27
votes
3answers
17k views

How can I make new account by JSON-RPC?

I'd like to make new account by JSON-RPC.I've checked the wiki of Ethereum, however I could not find out how to do that. I've found call existed accounts, but it isn't what I want. eth_accounts ...
5
votes
1answer
205 views

Can I get from a transaction to contract state changes using RPC API

If I'm talking to geth using the JSON RPC API, I've found a transaction I'm interested in and I can see that it is calling a contract (data in the 'input' part of the transaction object.) Can I then ...
2
votes
1answer
296 views

How to control which client mist is using as blockchain backend?

Whenever I run mist without any client, it launches a geth node in the background, connects to the network and syncs the blockchain. If I have a geth node running and start mist, it detects the ...
1
vote
1answer
214 views

How to offer free DApps for users without any barriers? [duplicate]

How to offer decentralized applications or services for users without introducing any barriers like running a full ethereum node? enabling rpc api on the node? explaining the user which rpc cors ...
3
votes
1answer
428 views

Are there Ethereum API wrappers?

I'm looking into developing some Go software on Ethereum and I'm wondering - are there any API wrappers around for Ethereum (something like BTCSuite's BTCRPCClient is for Bitcoin)? I know there is a ...
10
votes
1answer
2k views

How can non-javascript applications communicate with Ethereum nodes?

Web3 implements the Ethereum JSON-RPC spec and seems to be the preferred method for communicating between a javascript applications and the Ethereum node. However there are situations where you might ...
2
votes
2answers
282 views

Is it possible to access Ethereum API via the browser?

How do you access the api's of ethereum via the browser? Say I wanted to make a one page app that updates every 1 minute with the block number. And where can I get a list of all the API variables?
8
votes
1answer
1k views

sendRawTransaction results in queued TXs

I attempted to send raw TXs via eth.sendRawTransaction API but get stuck. I'm using EthereumJS to generate and sign TXs, and indeed, I can submit TXs through eth.sendRawTransactin, but the TXs always ...
4
votes
1answer
256 views

Is it possible to check which RPC APIs are available?

Is it possible for a decentralized application to get details about the offered JSON-RPC APIs from the local ethereum node? I want to check the following specs in the following order using web3.js: ...
148
votes
2answers
28k views

What is the difference between a transaction and a call?

What is the difference between a transaction and a call? In some interfaces, I can interact with contracts via calls or via transactions. What is the difference between the two, and can contracts also ...
5
votes
1answer
3k views

What is the 0x I see around Ethereum? For example I see addresses that start with 0x

I see a number of things in Ethereum start with 0x, for example addresses. Other examples are in the Geth console, JSON-RPC, web3.js. What is the 0x and what is its purpose?
28
votes
3answers
12k views

What are the limitations to estimateGas and when would its estimate be considerably wrong?

web3.eth.estimateGas and JSON-RPC estimateGas can be used to see how much gas should be specified for a transaction, before crafting the transaction. Since it is an estimate, are there any ...