0

I found the accounting module in this line and want to use them. i attached the accounting module to parameter --rpcapi accounting when run console node but could not found this module.

run node:

./build/bin/geth --rpc --datadir ~/mychain/data/ --port 30303 --nodiscover --rpcapi db,eth,net,web3,personal,accounting --networkid 15 init ~/mychain/CustomGenesis.json

get modules supported

rpc: {
    modules: {
      admin: "1.0",
      debug: "1.0",
      eth: "1.0",
      ethash: "1.0",
      miner: "1.0",
      net: "1.0",
      personal: "1.0",
      rpc: "1.0",
      txpool: "1.0",
      web3: "1.0"
    },

How can be use this module?

https://github.com/ethereum/go-ethereum/blob/6bd896a97f0c86fdb6d0538f5f839d7ea104e888/internal/web3ext/web3ext.go#L722

Thanks for the support.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.