2

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)

  • No, you can only query all the block to get all your transactions, or subscribe specific actions in your node – Jimmy Guo Aug 4 '18 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 Blockchain Aug 4 '18 at 7:26
0

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.

Your Answer

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

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