5

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.

3
  • any solution for the eos dev api or eosjs?
    – Marcel
    Commented Aug 3, 2018 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
    Commented Aug 4, 2018 at 9:17
  • @ismyhc: Did you found any solution for the same? Commented Jul 6, 2020 at 9:09

2 Answers 2

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.

2
  • Link to the project? :)
    – James Mart
    Commented Aug 9, 2018 at 0:05
  • 1
    How can I do the same with eosjs ? Commented Sep 26, 2018 at 13:00
-1
cleos -u http://eu1.eosdac.io get actions aaaaaaaaaaaa

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.