Back to Eos

Pack Action Data

docs/02_cleos/03_command-reference/convert/pack_action_data.md

2.1.0543 B
Original Source

Description

From json action data to packed form

Positionals

  • account TEXT - The name of the account that hosts the contract
  • name TEXT - The name of the function that's called by this action
  • unpacked_action_data TEXT - The action data expressed as json

Options

  • -h,--help - Print this help message and exit

Usage

sh
 cleos convert pack_action_data eosio unlinkauth '{"account":"test1", "code":"test2", "type":"eosioeosio"}'

Output

console
000000008090b1ca000000000091b1ca000075982aea3055