Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [rpc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
3 answers

How to get token holders via json RPC

So I want to get the token holders of a token like this: Via my Ethereum node. I tried:
Marc Alexander's user avatar
12 votes
15 answers

TypeError: Cannot read properties of undefined (reading 'JsonRpcProvider')

const ethers = require("ethers"); const provider = new ethers.providers.JsonRpcProvider('') web3.eth.getBlockNumber().then(console.log) Error: ...
dertobiaszwei's user avatar
9 votes
5 answers

Metamask - "Params specify an EIP-1559 transaction but the current network does not support EIP-1559"

I'm working on a little erc 721 project. We have a frontend that allows users to mint a couple of our nfts with a button.{from: accounts[0], value: ...
Pepe Silvia's user avatar
5 votes
1 answer

Geth --rpcaddr doubt

Can you tell me the differences between --rpcaddr --rpcaddr --rpcaddr my_public_ip --rpcaddr my_private_ip during a private network config? Thank you
Bruce Wayne's user avatar
3 votes
0 answers

What RPC APIs are safe to expose?

What RPC APIs are safe to expose (make public, so accessible by anyone), and what are the unsafe ones, and why? I've read: are there "public" ethereum nodes? or any recommendations on ...
Константин Ван's user avatar
3 votes
1 answer

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 , 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 ...
alper's user avatar
  • 8,395
3 votes
1 answer

Raw transaction nonce won't increment until confirmation

I am building transactions manually and have been able to successfully create raw transactions which can be broadcasted to the network. My problem is, that while I can get a nonce from the web3....
James's user avatar
  • 341
1 vote
0 answers

How to get all the transactions made by a token address [duplicate]

Given the address of a token, how I can get all the transactions related to that address using JSON RPC or an external api such a The transactions that gives a Ethereum address are ...
Enzo's user avatar
  • 177
1 vote
2 answers

How do I export ethereum blocks with quickblocks to a JSON file?

I am looking for how to export or save data from ethereum blocks in a json file using quickblocks.
MABROUK Medkarim's user avatar