The subcommand can be used to sign a transaction.
(string) transaction— The JSON string or filename defining the transaction to sign (required).
(string) transaction
-k, --private-key TEXT — The private key that will be used to sign the transaction.
-k
--private-key
-c, --chain-id TEXT — The chain id that will be used to sign the transaction.
-c
--chain-id
-p, --push-transaction — Push transaction after signing.
-p
--push-transaction
$ cleos sign [OPTIONS] <transaction>
Last updated 5 years ago