1

I was trying to retrieve list of actions for an account I created in jungle testnet.

cleos --url http://dev.cryptolions.io:38888 get actions <account_name>

using this code.

However, it returns nothing. I added history_api_plugin when running nodeos. How can I retrieve the list?

2
  • Your nodeos does do anything incase of jungle test net. Jungle test net has it's own node running. What error did you get ..? Oct 29, 2018 at 10:33
  • do jungle testnet work? Oct 29, 2018 at 12:02

1 Answer 1

2

You can get all the actions of your contract including table:

cleos --url http://dev.cryptolions.io:38888 get abi <your_account>

or

cleos --url https://junglehistory.cryptolions.io:443 get abi <account_name>

account_name is the account with which you set your contract.

if you want action performed by a account on jungle test net you can get like this:

cleos --url https://junglehistory.cryptolions.io:443 get actions <your_account> -1 -100 -j

where -100 is the last 100 transactions. You may also get last 2 , or last 3 as you want.

2
  • This is not an answer related to this because the question is about to actions that performed by account and the answer given by you is about actions which is used in contract here both are different.
    – Mr.Y
    Oct 29, 2018 at 13:03
  • @Mr.Y thanks for pointing the right direction, language of question is little bit confusing about what you said. So I edited the answer and also keep the earlier answer, as jinjineos does'nt share his/her views. Oct 29, 2018 at 14:58

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.