Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rpc]

The tag has no usage guidance.

0
votes
0answers
17 views

Geth Go always crash after few rpc call

My node sometimes crash after I made few rpc call in a row. How can i make it not crash each time?
0
votes
1answer
18 views

How do I send coins over personal blockchain?

What I have done --> I have created my own blockchain which is basically forked from Ethereum. So everything that can be done on Ethereum, can in theory by done on my blockchain. I can run a local ...
0
votes
1answer
24 views

Use of RPC, IPC and ws in go-ethereum?

RPC provides http-rpc server.But what is the use of IPC and ws?
1
vote
1answer
31 views

Retrieve event args from getPastLogs

When we use web3.eth.getPastLogs it returns topic and data properties together with rest data. Does it possible to retrieve event args parsing just data and topic as filter? Without to make additional ...
1
vote
0answers
21 views

Geth RPC send_transaction error -32000

How do you calculate how much gas to use in a send_transaction? Amount: 0x670479cb5385800, // (decimal: 463949500000000000 wei 0.4639495 eth) Gas price: 0x6ddd00 // (decimal: 7200000 wei) Gas: ...
0
votes
1answer
63 views

Couldn't decode uint256 from ABI: 0x

I'm trying to get all Transfer events from an account of an ERC721 token, I'm currently struggling with the following error. I googled around but couldn't find much helpful things. I'm definitely on ...
0
votes
1answer
18 views

How to restreint access to rpc? [closed]

I want to restreint access to my ethereum node (geth) via rpc interface for some machines, for example : localhost and 10.x.x.x how to deal with that?
2
votes
0answers
40 views

GETH gets out of sync from time to time

GETH tooks 6 days to sync, after that it will get out of sync from time to time. (PC is running with SSD, never shutdown, and network availability is 100% with 500mbps connection). May I know how ...
2
votes
0answers
49 views

“RPC error, your account is locked” when I try to deploy the last version of parity-bridge

I have already success to deploy the last version of parity-bridge (last month), but today i have pull the last version of parity-bridge. I have that on my terminal : env RUST_LOG=info parity-bridge-...
1
vote
0answers
29 views

Start geth javascript console for node without mist

I have my Mist node running on https://ip:8545. To work over it with the Geth javascript console I run a cmd prompt with: ./mist.exe --rpc https://ip:8545. After that I attach the geth javascript ...
0
votes
2answers
60 views

RPC connection to ETH Mainnet

Currently I am using GETH, but it is getting like 4~5 days trying to sync without success! May I know any other ETH client which can provides RPC connection and able to sync with the mainnet fast?!?
2
votes
1answer
39 views

How to connect to Ethereum Mainnet from a Mobile App?

I have tested with various private Ethereum chains and test ones using Web3 and RPC calls to a node from React. I am working on connecting to the mainnet for Ethereum with the same principle. If I ...
0
votes
0answers
68 views

Parity node runs out of available RPC connections using web3

I'm using nodejs with web3 1.0.0. There are 2 instances of my app running, each making a websocket connection. For some reason, my parity node seems to quickly run out of available RPC connections (...
1
vote
1answer
93 views

Error when try to connect to infura using HDWallet

I would like to debug a transaction using truffle and infura. truffle debug --network=infurarinkeby 0x7... truffle-config.js: infurarinkeby: { provider: function() { return ...
0
votes
1answer
18 views

How to keep a geth node synchronised on a ubuntu machine?

The requirement is keep a geth node synchronised almost always for a DAPP . The geth node is running on a ubuntu machine. The command being used to expose the geth rpc server is geth --testnet --...
0
votes
1answer
100 views

How secure is using port 8545 from the internet (aka via JSON), can someone steal my ether?

Just noticed I can access 8545 from localhost but fortunately not from the web/internet. Do I need this at all? e.q. I read about someone who had lost $20 million due to someone else sending a call ...
1
vote
0answers
47 views

Cannot connect to the Web3 provider when rpccorsdomain is on

I am getting the message: Not possible to connect to the Web3 provider. Make sure the provider is running and a connection is open (via IPC or RPC). When I specify: --rpccorsdomain "http://...
2
votes
1answer
125 views

Private Ethereum Node connection with Metamask

I am able to connect using metamask localhost 8545 option, as well as computer within the intranet. geth --identity "SK" --datadir data --networkid 18 console --rpc --rpcport 8545 --rpcaddr "0.0.0.0" ...
0
votes
1answer
58 views

Detecting whether a transaction was cancelled (because a block is orphaned)

I'm writing a system where some transactions have to be automatically detected, and wait for 30 blocks to ensure they're confirmed. What I do is that I read all new blocks, and find the transactions ...
1
vote
1answer
107 views

Syncmode = full, and still getting “missing trie node”

I'm running on Rinkeby testnet with this command (I resynced the whole blockchain with this): ./geth --rinkeby --syncmode full --rpc --rpcapi "web3,db,eth,net,personal" --datadir /.../ and after the ...
2
votes
1answer
140 views

How can I retrieve the number of decimals of a token with RPC?

There doesn't seem any obligation in the ERC20 standard to provide the number of decimals anywhere, yet etherscan and all other services can automatically determine the number of decimals of a token. ...
1
vote
2answers
225 views

Javascript Web3 sendTransaction not working

I wrote the following to interact with a Geth node. Got Error: authentication needed: password or unlock. Is there any way to bypass that? I don't want to use private key in my code either. Can I ...
0
votes
0answers
17 views

Am I starting my node correctly?

My intention: Setup for RPC call locally (behind a firewall). Mine some ETH with my GPU to cover my gas fees. geth --datadir ./data --syncmode fast console --rpc --rpcport 8545 --rpcaddr "0.0.0.0" --...
0
votes
0answers
37 views

Geth RPC help and bitcoin-cli equivalents? [duplicate]

I have been using Bitcoin and a few other cryptocurrency nodes for a project and I'm having a lot of trouble trying to add Ethereum. I have geth installed on a digitalocean droplet and I need to ...
0
votes
1answer
216 views

Check if node is running in private network

Is there a command in the geth javascript console to check if node is running in private net or if it is public? For now I always had to check it in the left hand corner in mist if it's private or ...
3
votes
1answer
175 views

web3.js: Error: The method shh_newSymKey does not exist/is not available on Web3.js

My main goal is to call web3.shh functions using RPC API , Web3.py or Web3.js. I can call web3.shh functions when I use geth attach; which is my last option to do. I am following this answer. geth ...
0
votes
2answers
82 views

Does running a Geth RPC server locally also require having a full Ethereum node?

I've been trying to learn about smart contracts and attempting to work through a few examples. Specifically, I found this one about creating an Oracle -- https://github.com/axic/tinyoracle. The ...
1
vote
1answer
151 views

run node safe prevent RPC hack!

I was running a node on my vps and my coinbase account was hacked. could anyone tell me what would be the default command to start geth on port 8545. Thank you
0
votes
1answer
174 views

set Test RPC block gas limit with Web3

I am stuck between "out of gas" and "exceed block gas limit" when try deploying my contract onto Test RPC in my mocha test file. I wonder Can I manually increase block gas limit on my test RPC (I ...
0
votes
1answer
167 views

Is there an API for json rpc transactions and signing?

I've been looking at a lot of node host providers like infura and they don't allow for ethereum json rpc signing or transactions for security reasons (private key handling). I thought that I could ...
0
votes
0answers
29 views

Error when calling json RPC eth_sign() [duplicate]

I'm currently trying to use the json rpc call eth_sign() and am inputting a public key for the address like this: , but I keep getting this 405 error.
0
votes
0answers
21 views

How does the json RPC function sendTransaction() work? Also what is the eth_sign()?

More specifically, how is it that you can send a transaction using this function call without even signing it? I don't see any parameters for a private key so I don't really know how one would use ...
0
votes
0answers
12 views

Signing and sending a transaction using only JSON RPC [duplicate]

What is the specific javascript implementation of using only a json RPC call to sign and send a transaction WITHOUT using web3js. I'm working in a limited environment where I can only make xml ...
0
votes
0answers
54 views

goroutine while running geth on aws node

I'm trying to run a testnet node of a private network id on my aws instance. It starts syncing but then it crashes and shows goroutine err. The entire stack trace was too long so just pasting part of ...
1
vote
1answer
46 views

Using json RPC without any libraries besides js

I am currently trying to call a function on my smart contract function adopt(uint petId) public returns (uint) that has already been deployed to the ropsten network... but here's the catch. I'm ...
0
votes
0answers
58 views

What does “RlpInvalidIndirection” error mean?

I run my own Parity node for Ropsten network. I am sending raw transactions to the node with "eth_sendRawTransaction" api, and sometimes it returns {-32602, "Invalid RLP.", "RlpInvalidIndirection"} ...
0
votes
2answers
64 views

Servers That Implement Ethereum RPC

Here is the documentation for Ethereum RPC. It looks straight forward enough, but I just need a list of servers that implement the RPC. https://ethereumbuilders.gitbooks.io/guide/content/en/...
0
votes
0answers
21 views

Making RPC calls without setting up my own node [duplicate]

My application is using web3 or Nethereum to connect to my own ethereum node (setup using geth). Is it a must for me to setup my own node to make RPC calls (or connect to a specific node that setup ...
0
votes
1answer
36 views

Invalid type: sequence, expected a string for key 'rpc.cors'

Trying to run parity using the configuration file node.toml file $ parity --config /data/parity/node.toml Loading config file from /data/parity/node.toml You might have supplied invalid parameters in ...
0
votes
1answer
61 views

What boot parameters do I use for a RPC server?

So we use the following for Litecoin daemon=1 rpcallowip=127.0.0.1 rpcallowip=xxx.xxx.xxx.xxx rpcuser=xxxxxxxxxxxxx rpcpassword=xxxxxxxxxxxx rpcport=9339 What would be the equivalent boot parameters ...
2
votes
1answer
206 views

Geth --rpcaddr doubt

Can you tell me the differences between --rpcaddr 127.0.0.1 --rpcaddr 0.0.0.0 --rpcaddr my_public_ip --rpcaddr my_private_ip during a private network config? Thank you
0
votes
0answers
284 views

Nethereum Call to function seems to return correctly but state of contract is uneffected [duplicate]

I am attempting to set a variable of the contract. The setter function returns the expected value but the value of subsequent calls to get are unaffected. Nethereum Code: using System; using System....
0
votes
0answers
173 views

How connect to my geth from Remix? IPC is always \\\.\\pipe\\geth.ipc

I am trying to develop smart contract & dapp with Window 10. I made my own accounts in local testnet in geth. And I'd like to make smart contracts and deploy them on the Remix. so I need to ...
0
votes
1answer
207 views

Nethereum contract function call throwing exception on return: hex string has length 64, want 40 for common.Address

Both a call returning and address and a call returning an int256 fail with the same error: Nethereum.JsonRpc.Client.RpcResponseException HResult=0x80131500 Message=invalid argument 0: hex string ...
0
votes
0answers
29 views

Starting Bootnode service throws an error: flag needs a argument : rpcapi

Bootnode -nodekey boot.key -verbosity 9 -addr :30310 Reference blog
1
vote
1answer
130 views

unable to list accounts in web3.py via RPC

I built a private chain on my computer using geth and I want to interact with it using web3.py. But there was something wrong. I started the private chain(containing only one node) with the command $...
5
votes
1answer
221 views

Accessing custom JavaScript functions via RPC API on Geth

Geth allows me to define & load my own custom JavaScript functions with --preload flag or require() on Geth console. But is there way to access my functions via RPC interface? Like : curl -H "...
0
votes
0answers
112 views

I run a private node on my windows PC using Geth .Now I want to remotely connect to it by another PC .But it doesnt work

I input this command lint to run a testnet on my a PC . geth --rpc --rpcport "8545" --rpcaddr "0.0.0.0" --testnet --rpcapi "db,eth,net,web3,personal" It works on a Mac in a same local network! So I ...
0
votes
0answers
29 views

Cannot see address on geth instance console in the dev network

I am trying to develop a ethereum private network & i am using a single dev node. I startup my local dev instance of geth using this command below. geth --mine --dev --rpc --rpccorsdomain="...
0
votes
0answers
76 views

Batched RPC requests

My Dapp stores a bunch of stuff and I need to query that stuff on my web server using geth. It requires about 10,000 (reads, no transactions) calls to do what I want (I don't want to change the ...