Skip to content

Instantly share code, notes, and snippets.

@johnX9
Last active May 26, 2018 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnX9/859d81f48c7e22a611f399db922dcece to your computer and use it in GitHub Desktop.
Save johnX9/859d81f48c7e22a611f399db922dcece to your computer and use it in GitHub Desktop.
# cleos push action {account} {action} {data}
# account - The account providing the contract to execute
# action - The action to execute on the contract
# data - The arguments to the contract
cleos push action anorak getplayer '["anorak"]' -p anorak@active
executed transaction: 759ba984c4f9216d79fc473757a398ee6248c043ab6596cd8336a08512a4f465 104 bytes 2443 us
# anorak <= anorak::getplayer {"account":"anorak"}
>> Username: art3mis Level: 1 Health: 1000 Energy: 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment