Commands

Account

Commands relating to Lisk accounts.

Create account

This returns a randomly-generated mnemonic passphrase with its corresponding public/private key pair and Lisk address.

USAGE
  $ lisk account:create

OPTIONS
  -j, --[no-]json      Prints output in JSON format. You can change the default behaviour in your config.json file.
  -n, --number=number  [default: 1] Number of accounts to create.

  --[no-]pretty        Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You
                       can change the default behaviour in your config.json file.

DESCRIPTION
  Returns a randomly-generated mnemonic passphrase with its corresponding public/private key pair and Lisk address.

EXAMPLES
  account:create
  account:create --number=3

Example JSON output

{
    "passphrase": "account reform outdoor curtain animal zoo best gain super glue bacon endless",
    "privateKey": "c0554188319a911aec70a6e044cbf69ec0da19269d11e8cd4e2b5ee18afe4402f7425ba1b192e07639a0304531e21117ccc1852279b6ec7c296b18bd95bcc4c3",
    "publicKey": "f7425ba1b192e07639a0304531e21117ccc1852279b6ec7c296b18bd95bcc4c3",
    "address": "9292797545729948557L"
}

Get account

Gets information about one or several accounts from the blockchain.

USAGE
  $ lisk account:get ADDRESSES

ARGUMENTS
  ADDRESSES  Comma-separated address(es) to get information about.

OPTIONS
  -j, --[no-]json  Prints output in JSON format. You can change the default behaviour in your config.json file.

  --[no-]pretty    Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can
                   change the default behaviour in your config.json file.

DESCRIPTION
  Gets account information from the blockchain.

EXAMPLES
  account:get 3520445367460290306L
  account:get 3520445367460290306L,2802325248134221536L

Example JSON output

[
    {
        "address": "8004805717140184627L",
        "unconfirmedBalance": "3254116037008",
        "balance": "3254116037008",
        "publicKey": "30c07dbb72b41e3fda9f29e1a4fc0fce893bb00788515a5e6f50b80312e2f483",
        "secondPublicKey": "f7a16edaf7995d522d5e6ac69d7325df76f5883dd084409eb13df8d61c33abfb",
        "delegate": {
            "username": "tschakki",
            "vote": "1372073738324255",
            "rewards": "3190700000000",
            "producedBlocks": 9377,
            "missedBlocks": 905,
            "rank": 94,
            "approval": 10.66,
            "productivity": 91.2
        }
    }
]

Show account

This shows private account information for a given passphrase. It displays the Lisk address, publickey and privatekey that belong to the entered passphrase:

USAGE
  $ lisk account:show

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -p, --passphrase=passphrase
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Shows account information for a given passphrase.

EXAMPLE
  account:show

Example JSON output

{
        "privateKey": "a665a45920422f9d417e4867efdc4fb8a04a1f3fff1fa07e998e86f7f7a27ae3a4465fd76c16fcc458448076372abf1912cc5b150663a64dffefe550f96feadd",
        "publicKey": "a4465fd76c16fcc458448076372abf1912cc5b150663a64dffefe550f96feadd",
        "address": "12475940823804898745L"
}

Block

Commands relating to Lisk blocks.

Get block

Gets block information from the blockchain.

USAGE
  $ lisk block:get BLOCKIDS

ARGUMENTS
  BLOCKIDS  Comma-separated block ID(s) to get information about.

OPTIONS
  -j, --[no-]json  Prints output in JSON format. You can change the default behaviour in your config.json file.

  --[no-]pretty    Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can
                   change the default behaviour in your config.json file.

DESCRIPTION
  Gets block information from the blockchain.

EXAMPLES
  block:get 17108498772892203620
  block:get 17108498772892203620,8541428004955961162

Example JSON output

[
    {
        "id": "369374894959871969",
        "version": 1,
        "timestamp": 76721330,
        "height": 6587884,
        "numberOfTransactions": 1,
        "totalAmount": "11100000",
        "totalFee": "10000000",
        "reward": "300000000",
        "payloadLength": 117,
        "payloadHash": "76eba40d186274ac79a8a5c2b5d73a5d214acfa1829763f59035d61c43a2ff2d",
        "generatorPublicKey": "279320364fc3edd39b77f1fa29594d442e39220b165956fa729f741150b0dc4d",
        "blockSignature": "6f1448a8b25b427bdc05e46d0383f6f1e0af45319591ad5507deaf298428d7fb16c82b4156dd0a444b0b70ef586bb95eb0853cb90937c980c3b939d1a65d1900",
        "confirmations": 4,
        "totalForged": "310000000",
        "generatorAddress": "8191405714437232748L",
        "previousBlockId": "6777587147545065709"
    }
]

Config

Commands to get and manage configurations for Lisk Commander.

Show config

Prints the current configuration.

USAGE
  $ lisk config:show

OPTIONS
  -j, --[no-]json  Prints output in JSON format. You can change the default behaviour in your config.json file.

  --[no-]pretty    Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can
                   change the default behaviour in your config.json file.

DESCRIPTION
  Prints the current configuration.

EXAMPLE
  config:show

Example JSON output (default values):

{
    "json": true, (1)
    "api": {
        "nodes": [], (2)
        "network": "main" (3)
    },
    "pretty": false (4)
}
1 If false, this displays the output in table format.
2 These are the custom nodes which will connect to the Lisk Commander.
3 This is for the network in use,main for Mainnet,test for Testnet.
4 If true, this displays the output in a logical format. This has no effect if json:false.

Set config

Sets configuration.

When api.nodes is empty, Lisk Commander will connect to the official Lisk seed nodes depending on the network specified in api.network.

If api.nodes is set to one or multiple nodes, Lisk Commander will ignore api.network and will make all requests to the specified Lisk node.

When multiple nodes are specified, queries will always go to the first listed node. The later nodes serve as a fallback, if a query to the first node was unsuccessful.

USAGE
  $ lisk config:set VARIABLE [VALUES]

OPTIONS
  -j, --[no-]json  Prints output in JSON format. You can change the default behaviour in your config.json file.

  --[no-]pretty    Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can
                   change the default behaviour in your config.json file.

DESCRIPTION
  Sets configuration.
  		...
  		Variables available: api.nodes, api.network, json, pretty.

EXAMPLES
  config:set json true
  config:set api.network main
  config:set api.nodes https://127.0.0.1:4000,http://mynode.com:7000

Example JSON output

{
    "message": "Successfully set pretty to true."
}

Displays copyright notice.

USAGE
  $ lisk copyright

OPTIONS
  -j, --[no-]json  Prints output in JSON format. You can change the default behaviour in your config.json file.

  --[no-]pretty    Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can
                   change the default behaviour in your config.json file.

DESCRIPTION
  Displays copyright notice.

EXAMPLE
  copyright

Delegate

Commands relating to Lisk delegates.

Get delegate

Gets delegate information from the blockchain.

USAGE
  $ lisk delegate:get USERNAMES

ARGUMENTS
  USERNAMES  Comma-separated username(s) to get information about.

OPTIONS
  -j, --[no-]json  Prints output in JSON format. You can change the default behaviour in your config.json file.

  --[no-]pretty    Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can
                   change the default behaviour in your config.json file.

DESCRIPTION
  Gets delegate information from the blockchain.

EXAMPLES
  delegate:get lightcurve
  delegate:get lightcurve,minions

Example JSON output

[
    {
        "rewards": "3209000000000",
        "vote": "1372446779413292",
        "producedBlocks": 9437,
        "missedBlocks": 905,
        "username": "tschakki",
        "rank": 94,
        "approval": 10.66,
        "productivity": 91.25,
        "account": {
            "address": "8004805717140184627L",
            "publicKey": "30c07dbb72b41e3fda9f29e1a4fc0fce893bb00788515a5e6f50b80312e2f483",
            "secondPublicKey": "f7a16edaf7995d522d5e6ac69d7325df76f5883dd084409eb13df8d61c33abfb"
        }
    }
]

Get voters of a delegate

Gets voters information for given delegate(s) from the blockchain.

USAGE
  $ lisk delegate:voters USERNAMES

ARGUMENTS
  USERNAMES  Comma-separated username(s) to get information about.

OPTIONS
  -j, --[no-]json  Prints output in JSON format. You can change the default behaviour in your config.json file.
  --limit=limit    [default: 10] Limit applied to results.
  --offset=offset  [default: 0] Offset applied to results.

  --[no-]pretty    Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can
                   change the default behaviour in your config.json file.

  --sort=sort      [default: balance:desc] Fields to sort results by.

DESCRIPTION
  Gets voters information for given delegate(s) from the blockchain.

EXAMPLES
  delegate:voters lightcurve
  delegate:voters lightcurve,minions
  delegate:voters lightcurve,minions --limit 20 --offset 5 --sort publicKey:asc --pretty

Get votes of a delegate

Gets votes information for given delegate(s) from the blockchain.

USAGE
  $ lisk delegate:votes ADDRESSES

ARGUMENTS
  ADDRESSES  Comma-separated address(es) to get information about.

OPTIONS
  -j, --[no-]json  Prints output in JSON format. You can change the default behaviour in your config.json file.
  --limit=limit    [default: 10] Limit applied to results.
  --offset=offset  [default: 0] Offset applied to results.

  --[no-]pretty    Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can
                   change the default behaviour in your config.json file.

  --sort=sort      [default: balance:desc] Fields to sort results by.

DESCRIPTION
  Gets votes information for given account(s) from the blockchain.

EXAMPLES
  delegate:votes 13133549779353512613L
  delegate:votes 13133549779353512613L,16010222169256538112L
  delegate:votes 13133549779353512613L,16010222169256538112L --limit 20 --offset 5 --sort balance:asc --pretty

Help

Displays command reference.

A command line interface for Lisk

VERSION
  lisk-commander/3.0.1 darwin-x64 node-v12.13.0

USAGE
  $ lisk [COMMAND]

COMMANDS
  account             Commands relating to Lisk accounts.
  block               Commands relating to Lisk blocks.
  config              Manages Lisk Commander configuration.
  copyright           Displays copyright notice.
  core                Install an instance of Lisk Core.
  delegate            Commands relating to Lisk delegates.
  help                Displays help.
  message             Commands relating to user messages.
  network-identifier
  node                Commands relating to Lisk node.
  passphrase          Commands relating to Lisk passphrases.
  signature           Commands relating to signatures for Lisk transactions from multisignature accounts.
  transaction         Commands relating to Lisk transactions.
  warranty            Displays warranty notice.

Message

Commands relating to user messages.

Decrypt message

Decrypts a previously encrypted message from a given sender public key for a known nonce using your secret passphrase.

Important: As the secret passphrase is a sensitive input, it can be provided using one of the methods described in the Sensitive Inputs section. The encrypted message can be provided either directly as an argument, or by specifying a source with the –message option. If both the secret passphrase and the encrypted message are provided via stdin, the secret passphrase must be provided in the first line, and the encrypted message must be provided in the subsequent lines.

USAGE
  $ lisk message:decrypt SENDERPUBLICKEY NONCE [MESSAGE]

ARGUMENTS
  SENDERPUBLICKEY  Public key of the sender of the message.
  NONCE            Nonce used during encryption.
  MESSAGE          Encrypted message.

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -m, --message=message
      Specifies a source for providing a message to the command. If a string is provided directly as an argument, this option
      will be ignored. The message must be provided via an argument or via this option. Sources must be one of `file` or
      `stdin`. In the case of `file`, a corresponding identifier must also be provided.
      	Note: if both secret passphrase and message are passed via stdin, the passphrase must be the first line.
      	Examples:
      	- --message=file:/path/to/my/message.txt
      	- --message=stdin

  -p, --passphrase=passphrase
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Decrypts a previously encrypted message from a given sender public key for a known nonce using your secret passphrase.

EXAMPLE
  message:decrypt bba7e2e6a4639c431b68e31115a71ffefcb4e025a4d1656405dfdcd8384719e0
  4b800d90d54eda4d093b5e4e6bf9ed203bc90e1560bd628d dcaa605af45a4107a699755237b4c08e1ef75036743d7e4814dea7

Example JSON output

{
    "message": "My very secret message"
}

Encrypt message

This encrypts a message for a given recipient public key using your secret passphrase.

This command uses Lisk Elements passphrase module to encrypt a message you provide for a given public key using a randomly generated nonce. In order to decrypt the encrypted message later, the recipient will need your public key (in order to verify that the message came from you), including the nonce and the secret passphrase which matches the specified public key.

Important: As the secret passphrase is a sensitive input, it can be provided using one of the methods described in the Sensitive Inputs section. The encrypted message can be provided either directly as an argument, or by specifying a source with the –message option. If both the secret passphrase and the encrypted message are provided via stdin, the secret passphrase must be provided in the first line, and the encrypted message must be provided in the subsequent lines.

USAGE
  $ lisk message:encrypt RECIPIENTPUBLICKEY [MESSAGE]

ARGUMENTS
  RECIPIENTPUBLICKEY  Public key of the recipient of the message.
  MESSAGE             Message to encrypt.

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -m, --message=message
      Specifies a source for providing a message to the command. If a string is provided directly as an argument, this option
      will be ignored. The message must be provided via an argument or via this option. Sources must be one of `file` or
      `stdin`. In the case of `file`, a corresponding identifier must also be provided.
      	Note: if both secret passphrase and message are passed via stdin, the passphrase must be the first line.
      	Examples:
      	- --message=file:/path/to/my/message.txt
      	- --message=stdin

  -p, --passphrase=passphrase
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Encrypts a message for a given recipient public key using your secret passphrase.

EXAMPLE
  message:encrypt bba7e2e6a4639c431b68e31115a71ffefcb4e025a4d1656405dfdcd8384719e0 "Hello world"

Example JSON output

 {
    "nonce": "cb4d497e6834e0e888e285f32ddb02bdfd4b471f6ad04e6d",
    "encryptedMessage": "82af57f715c69958bda8b9e95b7f7a09bfaa5afeb94960bf243d7c77a656a3e1ff061c68e20e"
}

Sign message

Signs a message using your secret passphrase.

This command signs the message. Your specific passphrase is required here.

Important: As the secret passphrase is a sensitive input, it can be provided using one of the methods described in the Sensitive Inputs section. The encrypted message can be provided either directly as an argument, or by specifying a source with the –message option. If both the secret passphrase and the encrypted message are provided via stdin, the secret passphrase must be provided in the first line, and the encrypted message must be provided in the subsequent lines.

USAGE
  $ lisk message:sign [MESSAGE]

ARGUMENTS
  MESSAGE  Message to sign.

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -m, --message=message
      Specifies a source for providing a message to the command. If a string is provided directly as an argument, this option
      will be ignored. The message must be provided via an argument or via this option. Sources must be one of `file` or
      `stdin`. In the case of `file`, a corresponding identifier must also be provided.
      	Note: if both secret passphrase and message are passed via stdin, the passphrase must be the first line.
      	Examples:
      	- --message=file:/path/to/my/message.txt
      	- --message=stdin

  -p, --passphrase=passphrase
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Signs a message using your secret passphrase.

EXAMPLE
  message:sign "Hello world"

Example JSON output

{
    "message": "Hello World",
    "publicKey": "a4465fd76c16fcc458448076372abf1912cc5b150663a64dffefe550f96feadd",
    "signature": "0c70c0ed6ca16312c6acab46dd8b801fd3f3a2bd68018651c2792b40a7d1d3ee276a6bafb6b4185637edfa4d282e18362e135c5e2cf0c68002bfd58307ddb30b"
}

Verify message

Verifies a signature for a message using the signer’s public key.

This command verify a message after being signed with the sign message command. The public key, signature, and message are required here.

USAGE
  $ lisk message:verify PUBLICKEY SIGNATURE [MESSAGE]

ARGUMENTS
  PUBLICKEY  Public key of the signer of the message.
  SIGNATURE  Signature to verify.
  MESSAGE    Message to verify.

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -m, --message=message
      Specifies a source for providing a message to the command. If a string is provided directly as an argument, this option
      will be ignored. The message must be provided via an argument or via this option. Sources must be one of `file` or
      `stdin`. In the case of `file`, a corresponding identifier must also be provided.
      	Note: if both secret passphrase and message are passed via stdin, the passphrase must be the first line.
      	Examples:
      	- --message=file:/path/to/my/message.txt
      	- --message=stdin

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Verifies a signature for a message using the signer’s public key.

EXAMPLE
  message:verify 647aac1e2df8a5c870499d7ddc82236b1e10936977537a3844a6b05ea33f9ef6
  2a3ca127efcf7b2bf62ac8c3b1f5acf6997cab62ba9fde3567d188edcbacbc5dc8177fb88d03a8691ce03348f569b121bca9e7a3c43bf5c056382f35ff84
  3c09 "Hello world"

Example JSON output

 {
    "verified": true
}

Network identifier

Displays the Network identifier based on the payload hash of the genesis block of the network. The Network identifier needs to be provided every time a transaction is signed, which ensures that the transaction can only be broadcast in the dedicated network.

USAGE
  $ lisk network-identifier GENESISPAYLOADHASH

ARGUMENTS
  GENESISPAYLOADHASH  Payload hash of genesis block from the network.

OPTIONS
  -j, --[no-]json                              Prints output in JSON format. You can change the default behaviour in your
                                               config.json file.

  --community-identifier=community-identifier  [default: Lisk] Unique community identifier for network.

  --[no-]pretty                                Prints JSON in pretty format rather than condensed. Has no effect if the output
                                               is set to table. You can change the default behaviour in your config.json file.

DESCRIPTION
  Creates Network identifier for the given genesis payload hash and community identifier.

EXAMPLE
  network-identifier da3ed6a45429278bac2666961289ca17ad86595d33b31037615d4b8e8f158bba

Example JSON output

{
	"networkIdentifier": "e48feb88db5b5cf5ad71d93cdcd1d879b6d5ed187a36b0002cc34e0ef9883255"
}

Node

Commands relating to Lisk nodes.

Uses official Lisk seed nodes, if no other nodes are provided in config.

Forging

Updates the forging status of a node.

USAGE
  $ lisk node:forging STATUS PUBLICKEY

ARGUMENTS
  STATUS     (enable|disable) Desired forging status.
  PUBLICKEY  Public key of the delegate whose status should be updated.

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -w, --password=password
      Specifies a source for your secret password. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --password=prompt (default behaviour)
      	- --password=pass:password123 (should only be used where security is not important)
      	- --password=env:PASSWORD
      	- --password=file:/path/to/my/password.txt (takes the first line only)
      	- --password=stdin (takes the first line only)

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

EXAMPLES
  node:forging enable 647aac1e2df8a5c870499d7ddc82236b1e10936977537a3844a6b05ea33f9ef6
  node:forging disable 647aac1e2df8a5c870499d7ddc82236b1e10936977537a3844a6b05ea33f9ef6

Get node

Gets information about a node.

USAGE
  $ lisk node:get

OPTIONS
  -j, --[no-]json   Prints output in JSON format. You can change the default behaviour in your config.json file.
  --forging-status  Additionally provides information about forging status.

  --[no-]pretty     Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can
                    change the default behaviour in your config.json file.

EXAMPLES
  node:get
  node:get --forging-status

Example JSON output

{
    "build": "v13:05:01 23/10/2018\n",
    "commit": "1785110b343fc42955e46fb5321092b470c686bc",
    "epoch": "2016-05-24T17:00:00.000Z",
    "fees": {
        "send": "10000000",
        "vote": "100000000",
        "secondSignature": "500000000",
        "delegate": "2500000000",
        "multisignature": "500000000",
        "dappRegistration": "2500000000",
        "dappWithdrawal": "10000000",
        "dappDeposit": "10000000"
    },
    "genesisBlockPayloadHash": "da3ed6a45429278bac2666961289ca17ad86595d33b31037615d4b8e8f158bba",
    "nonce": "HrWgya299whkyh8b",
    "milestone": "2",
    "reward": "300000000",
    "supply": "12877201600000000",
    "version": "1.1.1-rc.1",
    "consensus": 91,
    "height": 6592831,
    "loaded": true,
    "networkHeight": 6592831,
    "syncing": false,
    "transactions": {
        "confirmed": 862234,
        "unconfirmed": 0,
        "unprocessed": 0,
        "unsigned": 0,
        "total": 862234
    }
}

Passphrase

Commands relating to Lisk passphrases.

Decrypt passphrase

Decrypts your secret passphrase using the password which was provided at the time of encryption.

The following command listed below decrypts your secret passphrase after being encrypted with the encrypted passphrase command. The password which was used to encrypt the secret passphrase, as well as the initialisation vector (IV), which was randomly generated at the time of encryption will be required here:

Important: As the secret passphrase is a sensitive input, it can be provided using one of the methods described in the Sensitive Inputs section. The encrypted message can be provided either directly as an argument, or by specifying a source with the –message option. If both the secret passphrase and the encrypted message are provided via stdin, the secret passphrase must be provided in the first line, and the encrypted message must be provided in the subsequent lines.

USAGE
  $ lisk passphrase:decrypt [ENCRYPTEDPASSPHRASE]

ARGUMENTS
  ENCRYPTEDPASSPHRASE  Encrypted passphrase to decrypt.

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -w, --password=password
      Specifies a source for your secret password. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --password=prompt (default behaviour)
      	- --password=pass:password123 (should only be used where security is not important)
      	- --password=env:PASSWORD
      	- --password=file:/path/to/my/password.txt (takes the first line only)
      	- --password=stdin (takes the first line only)

  --passphrase=passphrase
      Specifies a source for providing an encrypted passphrase to the command. If a string is provided directly as an argument,
      this option will be ignored. The encrypted passphrase must be provided via an argument or via this option. Sources must be
      one of `file` or `stdin`. In the case of `file`, a corresponding identifier must also be provided.

      	Note: if both an encrypted passphrase and the password are passed via stdin, the password must be the first line.

      	Examples:
      		- --passphrase file:/path/to/my/encrypted_passphrase.txt (takes the first line only)
      		- --passphrase stdin (takes the first line only)

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Decrypts your secret passphrase using the password which was provided at the time of encryption.

EXAMPLE
  passphrase:decrypt
  "iterations=1000000&cipherText=9b1c60&iv=5c8843f52ed3c0f2aa0086b0&salt=2240b7f1aa9c899894e528cf5b600e9c&tag=23c01112134317a6
  3bcf3d41ea74e83b&version=1"

Example JSON output

{
    "passphrase": "minute omit local rare sword knee banner pair rib museum shadow juice"
}

Encrypt passphrase

Encrypts your secret passphrase under a password.

This command uses AES-256-CBC to encrypt your secret passphrase under a password you provide using a randomly generated initialisation vector (IV). In order to decrypt the secret passphrase later you will need both the IV and the password.

Important: As the secret passphrase is a sensitive input, it can be provided using one of the methods described in the Sensitive Inputs section. The encrypted message can be provided either directly as an argument, or by specifying a source with the –message option. If both the secret passphrase and the encrypted message are provided via stdin, the secret passphrase must be provided in the first line, and the encrypted message must be provided in the subsequent lines.

USAGE
  $ lisk passphrase:encrypt

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -p, --passphrase=passphrase
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  -w, --password=password
      Specifies a source for your secret password. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --password=prompt (default behaviour)
      	- --password=pass:password123 (should only be used where security is not important)
      	- --password=env:PASSWORD
      	- --password=file:/path/to/my/password.txt (takes the first line only)
      	- --password=stdin (takes the first line only)

  --outputPublicKey
      Includes the public key in the output. This option is provided for the convenience of node operators.

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Encrypts your secret passphrase under a password.

EXAMPLE
  passphrase:encrypt

Example JSON output

{
    "encryptedPassphrase": "iterations=1000000&cipherText=9b1c60&iv=5c8843f52ed3c0f2aa0086b0&salt=2240b7f1aa9c899894e528cf5b600e9c&tag=23c01112134317a63bcf3d41ea74e83b&version=1"
}

Signature

Commands relating to signatures for Lisk transactions from multisignature accounts.

Broadcast signature

Broadcasts a signature for a transaction from a multisignature account.

This command broadcasts the signature to the network. The command takes one of the required parameters:

  • transaction as string in JSON format

USAGE
  $ lisk signature:broadcast [SIGNATURE]

ARGUMENTS
  SIGNATURE  Signature to broadcast.

OPTIONS
  -j, --[no-]json  Prints output in JSON format. You can change the default behaviour in your config.json file.

  --[no-]pretty    Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can
                   change the default behaviour in your config.json file.

DESCRIPTION
  Broadcasts a signature for a transaction from a multisignature account.
  	Accepts a stringified JSON signature as an argument, or a signature can be piped from a previous command.
  	If piping make sure to quote out the entire command chain to avoid piping-related conflicts in your shell.

EXAMPLES
  signature:broadcast '{"transactionId":"abcd1234","publicKey":"abcd1234","signature":"abcd1234"}'
  echo '{"transactionId":"abcd1234","publicKey":"abcd1234","signature":"abcd1234"}' | lisk signature:broadcast

Example JSON output

{
    "meta": {
        "status": true
    },
    "data": {
        "message": "Signature(s) accepted"
    },
    "links": {}
}

Create signature

Creates a signature object for a transaction from a multisignature account.

Accepts a stringified JSON transaction as an argument.

USAGE
  $ lisk signature:create [TRANSACTION]

ARGUMENTS
  TRANSACTION  Transaction in JSON format.

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -p, --passphrase=passphrase
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  --networkIdentifier=networkIdentifier
      Network identifier defined for the network or main | test for the Lisk Network.

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Create a signature object for a transaction from a multisignature account.
  	Accepts a stringified JSON transaction as an argument.

EXAMPLE
  signature:create
  '{"amount":"10","recipientId":"8050281191221330746L","senderPublicKey":"3358a1562f9babd523a768e700bb12ad58f230f84031055802dc
  0ea58cef1e1b","timestamp":59353522,"type":0,"asset":{},"signature":"b84b95087c381ad25b5701096e2d9366ffd04037dcc941cd0747bfb0
  cf93111834a6c662f149018be4587e6fc4c9f5ba47aa5bbbd3dd836988f153aa8258e604"}'

Transaction

Commands relating to Lisk transactions.

Broadcast transaction

Broadcasts a transaction to the network via the node specified in the current config.

Accepts a stringified JSON transaction as an argument, or alternatively a transaction can be piped from a previous command.

If piping, ensure to quote out the entire command chain to avoid piping-related conflicts in your shell.

USAGE
  $ lisk transaction:broadcast [TRANSACTION]

ARGUMENTS
  TRANSACTION  Transaction to broadcast in JSON format.

OPTIONS
  -j, --[no-]json  Prints output in JSON format. You can change the default behaviour in your config.json file.

  --[no-]pretty    Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can
                   change the default behaviour in your config.json file.

DESCRIPTION
  Broadcasts a transaction to the network via the node specified in the current config.
  	Accepts a stringified JSON transaction as an argument, or a transaction can be piped from a previous command.
  	If piping, ensure to quote out the entire command chain to avoid piping-related conflicts in your shell.

EXAMPLES
  broadcast transaction '{"type":0,"amount":"100",...}'
  echo '{"type":0,"amount":"100",...}' | lisk transaction:broadcast

Example JSON output

{
    "meta": {
        "status": true
    },
    "data": {
        "message": "Transaction(s) accepted"
    },
    "links": {}
}

Create transaction

Creates a transaction object.

USAGE
    $ lisk transaction:create [0_ARG] [0_ARG] [0_ARG]

  OPTIONS
    -j, --[no-]json
        Prints output in JSON format. You can change the default behaviour in your config.json file.

    -p, --passphrase=passphrase
        Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
        	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
        must also be provided.
        	Examples:
        	- --passphrase=prompt (default behaviour)
        	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
        	- --passphrase=env:SECRET_PASSPHRASE
        	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
        	- --passphrase=stdin (takes one line only)

    -s, --second-passphrase=second-passphrase
        Specifies a source for your second secret passphrase. For certain commands a second passphrase is necessary, in which case
        Lisk Commander will prompt you for it if this option is not set. Otherwise, Lisk Commander will assume you want to use one
        passphrase only.
        	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
        must also be provided.
        	Examples:
        	- --second-passphrase=prompt (to force a prompt even when a second passphrase is not always necessary)
        	- --second-passphrase='pass:my second secret passphrase' (should only be used where security is not important)
        	- --second-passphrase=env:SECOND_SECRET_PASSPHRASE
        	- --second-passphrase=file:/path/to/my/secondPassphrase.txt (takes the first line only)
        	- --second-passphrase=stdin (takes one line only)

    -t, --type=8|transfer|9|second-passphrase|10|delegate|11|vote|12|multisignature
        (required) type of transaction to create

    --networkIdentifier=networkIdentifier
        Network identifier defined for the network or main | test for the Lisk Network.

    --no-signature
        Creates the transaction without a signature. Your passphrase will therefore not be required.

    --[no-]pretty
        Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can change the
        default behaviour in your config.json file.

    --unvotes=unvotes
        Specifies the public keys for the delegate candidates you want to remove your vote from. Takes either a string of public
        keys separated by commas, or a path to a file which contains the public keys.
        	Examples:
        	- --unvotes=publickey1,publickey2
        	- --unvotes=file:/path/to/my/unvotes.txt (every public key should be on a new line)

    --votes=votes
        Specifies the public keys for the delegate candidates you want to vote for. Takes either a string of public keys separated
        by commas, or a path to a file which contains the public keys.
        	Examples:
        	- --votes=publickey1,publickey2
        	- --votes=file:/path/to/my/votes.txt (every public key should be on a new line)

  DESCRIPTION
    Creates a transaction object.

  EXAMPLES
    transaction:create --type=0 100 13356260975429434553L
    transaction:create --type=delegate lightcurve

  COMMANDS
    transaction:create:delegate
    transaction:create:multisignature
    transaction:create:second-passphrase
    transaction:create:transfer
    transaction:create:vote

Transfer transaction

Creates a transaction which will transfer the specified amount to an address if broadcast to the network.

This command creates and signs a type 0 transaction, which will transfer a Lisk balance to a provided address if broadcast to the network.

USAGE
  $ lisk transaction:create:transfer AMOUNT ADDRESS

ARGUMENTS
  AMOUNT   Amount of LSK to send.
  ADDRESS  Address of the recipient.

OPTIONS
  -d, --data=data
      Optional UTF8 encoded data (maximum of 64 bytes) to include in the transaction asset.
      	Examples:
      	- --data=customInformation

  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -p, --passphrase=passphrase
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  -s, --second-passphrase=second-passphrase
      Specifies a source for your second secret passphrase. For certain commands a second passphrase is necessary, in which case
      Lisk Commander will prompt you for it if this option is not set. Otherwise, Lisk Commander will assume you want to use one
      passphrase only.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --second-passphrase=prompt (to force a prompt even when a second passphrase is not always necessary)
      	- --second-passphrase='pass:my second secret passphrase' (should only be used where security is not important)
      	- --second-passphrase=env:SECOND_SECRET_PASSPHRASE
      	- --second-passphrase=file:/path/to/my/secondPassphrase.txt (takes the first line only)
      	- --second-passphrase=stdin (takes one line only)

  --networkIdentifier=networkIdentifier
      Network identifier defined for the network or main | test for the Lisk Network.

  --no-signature
      Creates the transaction without a signature. Your passphrase will therefore not be required.

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Creates a transaction which will transfer the specified amount to an address if broadcast to the network.

EXAMPLE
  transaction:create:transfer 100 13356260975429434553L

Second passphrase transaction

Creates a transaction which will register a second passphrase for the account if broadcast to the network.

This command creates and signs a type 1 transaction, which will register a second passphrase for the account if broadcast to the network.

USAGE
  $ lisk transaction:create:second-passphrase

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -p, --passphrase=passphrase
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  -s, --second-passphrase=second-passphrase
      Specifies a source for your second secret passphrase. For certain commands a second passphrase is necessary, in which case
      Lisk Commander will prompt you for it if this option is not set. Otherwise, Lisk Commander will assume you want to use one
      passphrase only.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --second-passphrase=prompt (to force a prompt even when a second passphrase is not always necessary)
      	- --second-passphrase='pass:my second secret passphrase' (should only be used where security is not important)
      	- --second-passphrase=env:SECOND_SECRET_PASSPHRASE
      	- --second-passphrase=file:/path/to/my/secondPassphrase.txt (takes the first line only)
      	- --second-passphrase=stdin (takes one line only)

  --networkIdentifier=networkIdentifier
      Network identifier defined for the network or main | test for the Lisk Network.

  --no-signature
      Creates the transaction without a signature. Your passphrase will therefore not be required.

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Creates a transaction which will register a second passphrase for the account if broadcast to the network.

EXAMPLE
  transaction:create:second-passphrase

Delegate registration transaction

Creates a transaction which will register the account as a delegate candidate if broadcast to the network.

The following command below creates and signs a type 2 transaction, which will register the account as a delegate candidate if it is broadcast to the network. This requires the delegate’s username to be registered:

USAGE
  $ lisk transaction:create:delegate USERNAME

ARGUMENTS
  USERNAME  Username to register as a delegate.

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -p, --passphrase=passphrase
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  -s, --second-passphrase=second-passphrase
      Specifies a source for your second secret passphrase. For certain commands a second passphrase is necessary, in which case
      Lisk Commander will prompt you for it if this option is not set. Otherwise, Lisk Commander will assume you want to use one
      passphrase only.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --second-passphrase=prompt (to force a prompt even when a second passphrase is not always necessary)
      	- --second-passphrase='pass:my second secret passphrase' (should only be used where security is not important)
      	- --second-passphrase=env:SECOND_SECRET_PASSPHRASE
      	- --second-passphrase=file:/path/to/my/secondPassphrase.txt (takes the first line only)
      	- --second-passphrase=stdin (takes one line only)

  --networkIdentifier=networkIdentifier
      Network identifier defined for the network or main | test for the Lisk Network.

  --no-signature
      Creates the transaction without a signature. Your passphrase will therefore not be required.

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Creates a transaction which will register the account as a delegate candidate if broadcast to the network.

EXAMPLE
  transaction:create:delegate lightcurve

Cast votes transaction

Creates a transaction which will cast votes (and/or unvotes), for delegate candidates using their public keys if broadcast to the network.

This command creates and signs a type 3 transaction, which will cast votes or unvotes for delegates if broadcast to the network. The command requires at least one of the –votes and/or –unvotes options.

These options can be specified either by a list of public key strings (corresponding to the delegates to be voted for/unvoted), separated by commas, or via a path to a file containing the public keys (where the public keys can be separated by commas or new lines).

USAGE
  $ lisk transaction:create:vote

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -p, --passphrase=passphrase
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  -s, --second-passphrase=second-passphrase
      Specifies a source for your second secret passphrase. For certain commands a second passphrase is necessary, in which case
      Lisk Commander will prompt you for it if this option is not set. Otherwise, Lisk Commander will assume you want to use one
      passphrase only.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --second-passphrase=prompt (to force a prompt even when a second passphrase is not always necessary)
      	- --second-passphrase='pass:my second secret passphrase' (should only be used where security is not important)
      	- --second-passphrase=env:SECOND_SECRET_PASSPHRASE
      	- --second-passphrase=file:/path/to/my/secondPassphrase.txt (takes the first line only)
      	- --second-passphrase=stdin (takes one line only)

  --networkIdentifier=networkIdentifier
      Network identifier defined for the network or main | test for the Lisk Network.

  --no-signature
      Creates the transaction without a signature. Your passphrase will therefore not be required.

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

  --unvotes=unvotes
      Specifies the public keys for the delegate candidates you want to remove your vote from. Takes either a string of public
      keys separated by commas, or a path to a file which contains the public keys.
      	Examples:
      	- --unvotes=publickey1,publickey2
      	- --unvotes=file:/path/to/my/unvotes.txt (every public key should be on a new line)

  --votes=votes
      Specifies the public keys for the delegate candidates you want to vote for. Takes either a string of public keys separated
      by commas, or a path to a file which contains the public keys.
      	Examples:
      	- --votes=publickey1,publickey2
      	- --votes=file:/path/to/my/votes.txt (every public key should be on a new line)

DESCRIPTION
  Creates a transaction which will cast votes (or unvotes) for delegate candidates using their public keys if broadcast to the
  network.

EXAMPLE
  transaction:create:vote --votes
  215b667a32a5cd51a94c9c2046c11fffb08c65748febec099451e3b164452bca,922fbfdd596fa78269bbcadc67ec2a1cc15fc929a19c462169568d7a3df
  1a1aa --unvotes
  e01b6b8a9b808ec3f67a638a2d3fa0fe1a9439b91dbdde92e2839c3327bd4589,ac09bc40c889f688f9158cca1fcfcdf6320f501242e0f7088d52a507708
  4ccba

Multisignature account registration

Creates a transaction which will register the account as a multisignature account if broadcast to the network, using the following arguments:

USAGE
  $ lisk transaction:create:multisignature LIFETIME MINIMUM KEYSGROUP

ARGUMENTS
  LIFETIME   Number of hours the transaction should remain in the transaction pool before becoming invalid.
  MINIMUM    Minimum number of signatures required for a transaction from the account to be valid.
  KEYSGROUP  Public keys to verify signatures against for the multisignature group.

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -p, --passphrase=passphrase
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  -s, --second-passphrase=second-passphrase
      Specifies a source for your second secret passphrase. For certain commands a second passphrase is necessary, in which case
      Lisk Commander will prompt you for it if this option is not set. Otherwise, Lisk Commander will assume you want to use one
      passphrase only.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --second-passphrase=prompt (to force a prompt even when a second passphrase is not always necessary)
      	- --second-passphrase='pass:my second secret passphrase' (should only be used where security is not important)
      	- --second-passphrase=env:SECOND_SECRET_PASSPHRASE
      	- --second-passphrase=file:/path/to/my/secondPassphrase.txt (takes the first line only)
      	- --second-passphrase=stdin (takes one line only)

  --networkIdentifier=networkIdentifier
      Network identifier defined for the network or main | test for the Lisk Network.

  --no-signature
      Creates the transaction without a signature. Your passphrase will therefore not be required.

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Creates a transaction which will register the account as a multisignature account if broadcast to the network, using the
  following arguments:
  		1. Number of hours the transaction should remain in the transaction pool before becoming invalid.
  		2. Minimum number of signatures required for a transaction from the account to be valid.
  		3. Public keys to verify signatures against for the multisignature group.

EXAMPLE
  transaction:create:multisignature 24 2
  215b667a32a5cd51a94c9c2046c11fffb08c65748febec099451e3b164452bca,922fbfdd596fa78269bbcadc67ec2a1cc15fc929a19c462169568d7a3df
  1a1aa

Get transaction

Gets transaction information from the blockchain.

USAGE
  $ lisk transaction:get [IDS]

ARGUMENTS
  IDS  Comma-separated transaction ID(s) to get information about.

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -s, --state=unsigned|unprocessed
      Get transactions based on a given state. Possible values for the state are 'unsigned' and 'unprocessed'.
      	Examples:
      	- --state=unsigned
      	- --state=unprocessed

  --limit=limit
      [default: 10] Limits the returned transactions array by specified integer amount. Maximum is 100.

  --offset=offset
      [default: 0] Offsets the returned transactions array by specified integer amount.

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

  --sender-id=sender-id
      Get transactions based by sender-id which is sender's lisk address'.
      	Examples:
      	- --sender-id=12668885769632475474L

  --sort=amount:asc|amount:desc|fee:asc|fee:desc|type:asc|type:desc|timestamp:asc|timestamp:desc
      [default: timestamp:desc] Fields to sort results by.

DESCRIPTION
  Gets transaction information from the blockchain.

EXAMPLES
  transaction:get 10041151099734832021
  transaction:get 10041151099734832021,1260076503909567890
  transaction:get 10041151099734832021,1260076503909567890 --state=unprocessed
  transaction:get --state=unsigned --sender-id=1813095620424213569L
  transaction:get 10041151099734832021 --state=unsigned --sender-id=1813095620424213569L
  transaction:get --sender-id=1813095620424213569L
  transaction:get --limit=10 --sort=amount:desc
  transaction:get --limit=10 --offset=5

Sign transaction

Sign a transaction using your secret passphrase.

Important: As the secret passphrase is a sensitive input, it can be provided using one of the methods described in the Sensitive Inputs section. The encrypted message can be provided either directly as an argument, or by specifying a source with the –message option. If both the secret passphrase and the encrypted message are provided via stdin, the secret passphrase must be provided in the first line, and the encrypted message must be provided in the subsequent lines.

USAGE
  $ lisk transaction:sign [TRANSACTION]

ARGUMENTS
  TRANSACTION  Transaction to sign in JSON format.

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -p, --passphrase=passphrase
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  -s, --second-passphrase=second-passphrase
      Specifies a source for your second secret passphrase. For certain commands a second passphrase is necessary, in which case
      Lisk Commander will prompt you for it if this option is not set. Otherwise, Lisk Commander will assume you want to use one
      passphrase only.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --second-passphrase=prompt (to force a prompt even when a second passphrase is not always necessary)
      	- --second-passphrase='pass:my second secret passphrase' (should only be used where security is not important)
      	- --second-passphrase=env:SECOND_SECRET_PASSPHRASE
      	- --second-passphrase=file:/path/to/my/secondPassphrase.txt (takes the first line only)
      	- --second-passphrase=stdin (takes one line only)

  --networkIdentifier=networkIdentifier
      Network identifier defined for the network or main | test for the Lisk Network.

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

DESCRIPTION
  Sign a transaction using your secret passphrase.

EXAMPLE
  transaction:sign
  '{"senderPublicKey":null,"timestamp":52871598,"type":0,"asset":{"amount":"100",recipientId:"13356260975429434553L"}}'

Verify transaction

Verifies a transaction has a valid signature.

This command verifies a transaction after being signed with the sign transaction command, or the create transaction command.

The second public key may be specified here if the transaction has a second signature:

USAGE
  $ lisk transaction:verify [TRANSACTION]

ARGUMENTS
  TRANSACTION  Transaction to verify in JSON format.

OPTIONS
  -j, --[no-]json
      Prints output in JSON format. You can change the default behaviour in your config.json file.

  -p, --networkIdentifier=networkIdentifier
      Specifies a source for your secret passphrase. Lisk Commander will prompt you for input if this option is not set.
      	Source must be one of `prompt`, `pass`, `env`, `file` or `stdin`. For `pass`, `env` and `file` a corresponding identifier
      must also be provided.
      	Examples:
      	- --passphrase=prompt (default behaviour)
      	- --passphrase='pass:my secret passphrase' (should only be used where security is not important)
      	- --passphrase=env:SECRET_PASSPHRASE
      	- --passphrase=file:/path/to/my/passphrase.txt (takes the first line only)
      	- --passphrase=stdin (takes one line only)

  --[no-]pretty
      Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can change the
      default behaviour in your config.json file.

  --second-public-key=second-public-key
      Specifies a source for providing a second public key to the command. The second public key must be provided via this
      option. Sources must be one of `file` or `stdin`. In the case of `file`, a corresponding identifier must also be provided.

      	Note: if both transaction and second public key are passed via stdin, the transaction must be the first line.

      	Examples:
      	- --second-public-key file:/path/to/my/message.txt
      	- --second-public-key 790049f919979d5ea42cca7b7aa0812cbae8f0db3ee39c1fe3cef18e25b67951

DESCRIPTION
  Verifies a transaction has a valid signature.

EXAMPLES
  transaction:verify '{"type":0,"amount":"100",...}'
  transaction:verify '{"type":0,"amount":"100",...}'
  --second-public-key=647aac1e2df8a5c870499d7ddc82236b1e10936977537a3844a6b05ea33f9ef6

Example JSON output

{
    "verified": true
}

Warranty

Displays the warranty notice.

USAGE
  $ lisk warranty

OPTIONS
  -j, --[no-]json  Prints output in JSON format. You can change the default behaviour in your config.json file.

  --[no-]pretty    Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. You can
                   change the default behaviour in your config.json file.

DESCRIPTION
  Displays warranty notice.

EXAMPLE
  warranty