eos icon indicating copy to clipboard operation
eos copied to clipboard

When use command 'cleos sign', what's the struct of unsigned transaction?

Open guaiguaihw opened this issue 8 years ago • 1 comments

image I want to use command 'cleos sign', but I don't know the correct format of transaction. I also do not find any example? Can anyone show me the struct of transaction?

guaiguaihw avatar May 09 '18 05:05 guaiguaihw

ok, I just solve the problem, here is the example of transaction: { "actions": [ { "account": "eosio.token", "authorization": [{"actor": "user", "permission": "active"}], "data": "00000000007015d640420f000000000004454f5300000000046d656d6f", "name": "transfer" } ], "context_free_actions": [], "expiration": "2018-05-09T07:35:24", "max_kcpu_usage": 0, "max_net_usage_words": 0, "ref_block_num": 248618, "ref_block_prefix": 2025487478, "region": 0 }

guaiguaihw avatar May 09 '18 07:05 guaiguaihw