跳至主要内容
此页面是从英文翻译而来的。请注意,与原始页面相比,可能会出现错误或差异。真实的文档来源应始终是英文版本。

sign

Description

Sign a transaction

Usage

cleos sign [OPTIONS] transaction

Positional Parameters

  • transaction TEXT - The JSON string or filename defining the transaction to sign

Options

  • -k,--private-key TEXT - The private key that will be used to sign the transaction
  • --public-key TEXT - Ask keosd to sign with the corresponding private key of the given public key
  • -c,--chain-id TEXT - The chain id that will be used to sign the transaction
  • -p,--push-transaction - Push transaction after signing