I would like to know what is the API which corresponds to this command:
cleos push action contract_name action_name'[param1,param2]' -p count@active
Exemple
command: cleos get info
EOS.IO Stack Exchange is a question and answer site for users and developers of distributed applications built on top of the blockchain operating system, EOS.IO. It only takes a minute to sign up.
Sign up to join this communityI would like to know what is the API which corresponds to this command:
cleos push action contract_name action_name'[param1,param2]' -p count@active
Exemple
command: cleos get info
I think the API you are looking for is http://localhost:8080/v1/chain/push_transaction
Behind the scene cleos push action contract_name action_name'[param1,param2]' -p count@active
construct a transaction and signs it with your private key. After that, the ready transaction becomes broadcasted to the chain