3

I wanna show users a list of confirmed and unconfirmed transactions of a specific EOS address or account name, using eosjs. Similar like a Ethereum block explorer.

Any ideas or work arounds?

If there is a call to get all user transactions, I can manually check them via eos.getTransaction(id, blockNumHint)

2
  • No, you can only query all the block to get all your transactions, or subscribe specific actions in your node
    – Jimmy Guo
    Aug 4, 2018 at 3:04
  • 1
    Can you give me more details or a link to 'subscribe specific actions in your node'? So wallet providers scan basically the whole blockchain to show their users their transaction history?
    – Marcel
    Aug 4, 2018 at 7:26

1 Answer 1

1

To get the unconfirmed transactions, you can call

curl -d '{"limit":5,"json":false}' https://mainnet.eoscanada.com/v1/chain/get_scheduled_transactions

Replace https://mainnet.eoscanada.com with any active BP address including yours as long as you are running a production node with the History API Plugin.

You can also get transaction information from any EOS block explorer like https://bloks.io.

0

Your Answer

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

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