4

I'm able to get transactions for an account by using the /history/get_actions rpc interface, but it seems to only list actions that were initiated by that account. It lists transfer actions, but only ones where the account was the sender.

How would I also get actions that where received by that account. For instance, I want to get actions for an account where the account was the receiver of a transfer.

  • any solution for the eos dev api or eosjs? – Marcel Blockchain Aug 3 '18 at 20:20
  • @Kabir Are you sure the inline_keys data also contain the incoming transactions? The only incoming transaction I could find so far was from 'eosio.stake', memo: 'unstake', account: 'eosio.token', name: 'transfer'. btw found it in eosjs it's eos.getActions(account_name, (error, info) => {...}) – Marcel Blockchain Aug 4 '18 at 9:17
1

if you are using cleos and getting json feed for actions on a given account, look a the inline_traces key. It should include all things and unfortunately sometimes duplicates. I had a lot of headaches cleaning up the inline_keys data for an EOS analytics project.

|improve this answer|||||
  • Link to the project? :) – James Mart Aug 9 '18 at 0:05
  • How can I do the same with eosjs ? – Dmytro Zarezenko Sep 26 '18 at 13:00
-1
cleos -u http://eu1.eosdac.io get actions aaaaaaaaaaaa
|improve this answer|||||

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.