Convert
Last updated
$ cleos convert pack_action_data <account> <name> <unpacked_action_data>$ cleos convert pack_action_data c.gallery unlinkauth '{"account":"test1", "code":"test2", "type":"cybertype"}'000000003500b1be00000000008fa1ca0000a47deaea2903$ cleos convert pack_transaction [OPTIONS] <transaction>$ cleos convert pack_transaction '{
"expiration": "2020-02-02T18:01:32",
"ref_block_num": 22654,
"ref_block_prefix": 4107128227,
"max_net_usage_words": 0,
"max_cpu_usage_ms": 0,
"max_ram_kbytes": 0,
"max_storage_kbytes": 0,
"delay_sec": 0,
"context_free_actions": [],
"actions": [{
"account": "c.gallery",
"name": "create",
"authorization": [{
"actor": "cmnwrtlcdzcl",
"permission": "active"
}
],
"data": "0000000000fe...3d8ab000000"
}
],
"transaction_extensions": []
}'{
"signatures": [],
"compression": "none",
"packed_context_free_data": "",
"packed_trx": "7429ab7f379...00000"
}$ cleos convert pack_action_data <account> <name> <unpacked_action_data>$ cleos convert unpack_action_data c.gallery unlinkauth 000000003500b1be00000000008fa1ca0000a47deaea2903{
"account": "test1",
"code": "test2",
"type": "cybertype"
}$ cleos convert unpack_transaction [OPTIONS] <transaction>$ cleos convert unpack_transaction '{
"signatures": [
"SIG_K1_K6gS7...YE596eh"
],
"compression": "none",
"packed_context_free_data": "",
"packed_trx": "7429ab7f379...00000"
}'{
"expiration": "2020-02-02T18:01:32",
"ref_block_num": 22654,
"ref_block_prefix": 4107128227,
"max_net_usage_words": 0,
"max_cpu_usage_ms": 0,
"max_ram_kbytes": 0,
"max_storage_kbytes": 0,
"delay_sec": 0,
"context_free_actions": [],
"actions": [{
"account": "c.gallery",
"name": "create",
"authorization": [{
"actor": "cmnwrtlcdzcl",
"permission": "active"
}
],
"data": "0000000000fe...3d8ab000000"
}
],
"transaction_extensions": [],
"signatures": [
"SIG_K1_K6gS7...YE596eh"
],
"context_free_data": []
}