1

I working on Private Block chain and doing code GoLang for all block chain relate functionalities. I am making on API's to interact with my Pvt Block chain instead of using web3js. Now I want to view transaction history of specific accounts, how I can achieve that with GoLand and ETH API.

Regards AKM.

1
  • 1
    AFAIK there's no such functionality, you have to implement it by indexing each transaction, and internal transaction recording transfers between accounts, and generated by mining.
    – Ismael
    Commented Oct 23, 2017 at 21:11

1 Answer 1

0

In Go you can't import an external package if the import path contains the word internal otherwise you get the error use of internal package not allowed. The ethapi is an internal package.

source

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.