Command Line Interface

This document is a prettier output of the documentation produced by the command line client’s man command. You can obtain similar pages using the following shell commands.

tezos-client -protocol PsBabyM1eUXZ man -verbosity 3
tezos-admin-client man -verbosity 3

Client manual

Usage

  • tezos-client [global options] command [command options]
  • tezos-client --help (for global options)
  • tezos-client [global options] command --help (for command options)

To browse the documentation

  • tezos-client [global options] man (for a list of commands)
  • tezos-client [global options] man -v 3 (for the full manual)

Global options (must come before the command)

-d --base-dir <path>: client data directory The directory where the Tezos client will store all its data. By default: '$HOME/.tezos-client'. -c --config-file <path>: configuration file -t --timings: show RPC request times --chain <hash|tag>: chain on which to apply contextual commands (possible tags are 'main' and 'test') Defaults to `main`. -b --block <hash|tag>: block on which to apply contextual commands (possible tags are 'head' and 'genesis') Defaults to `head`. -w --wait <none|<int>>: how many confirmation blocks before to consider an operation as included -p --protocol <hash>: use commands of a specific protocol -l --log-requests: log all requests to the node -A --addr <IP addr|host>: IP address of the node -P --port <number>: RPC port of the node -S --tls: use TLS to connect to node. -R --remote-signer <uri>: URI of the remote signer -f --password-filename <filename>: path to the password filename

Access the documentation

  • man [keyword...] [-v --verbosity <0|1|2|3>] [--format <plain|colors|html>]
    Print documentation of commands. Add search keywords to narrow list. Will display only the commands by default, unless [-verbosity <2|3>] is passed or the list of matching commands if less than 3. keyword: keyword to search for If several are given they must all appear in the command. -v --verbosity <0|1|2|3>: level of details 0. Only shows command mnemonics, without documentation. 1. Shows command mnemonics with short descriptions. 2. Show commands and arguments with short descriptions 3. Show everything --format <plain|colors|html>: the manual's output format Defaults to `plain`.

Commands for managing a multisig smart contract

  • deploy multisig new_multisig transferring qty from src with threshold threshold on public keys [key...] [--fee <amount>] [-D --dry-run] [-G --gas-limit <amount>] [-S --storage-limit <amount>] [--delegate <address>] [-f --force] [-q --no-print-source] [--minimal-fees <amount>] [--minimal-nanotez-per-byte <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--force-low-fee] [--fee-cap <amount>] [--burn-cap <amount>]
    Originate a new multisig contract. new_multisig: name of the new multisig contract qty: amount taken from source in ꜩ Text format: `DDDDDDD.DDDDDD`. Tez and mutez and separated by a period sign. Trailing and pending zeroes are allowed. src: name of the source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. threshold: Number of required signatures key: Each signer of the multisig contract Can be a public_key name, a file or a raw public_key literal. If the parameter is not the name of an existing public_key, the client will look for a file containing a public_key, and if it does not exist, the argument will be read as a raw public_key. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. --fee <amount>: fee in ꜩ to pay to the baker -D --dry-run: don't inject the operation, just display it -G --gas-limit <amount>: Set the gas limit of the transaction instead of letting the client decide based on a simulation -S --storage-limit <amount>: Set the storage limit of the transaction instead of letting the client decide based on a simulation --delegate <address>: delegate of the contract Must be a known address. Can be a public key hash name, a file or a raw public key hash literal. If the parameter is not the name of an existing public key hash, the client will look for a file containing a public key hash, and if it does not exist, the argument will be read as a raw public key hash. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. -f --force: overwrite existing keys -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour. --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --force-low-fee: Don't check that the fee is lower than the estimated default value --fee-cap <amount>: Set the fee cap Defaults to `1.0`. --burn-cap <amount>: Set the burn cap Defaults to `0`.
  • prepare multisig transaction on multisig transferring qty to dst [--bytes-only]
    Display the threshold, public keys, and byte sequence to sign for a multisigned transfer. multisig: name of the originated multisig contract qty: amount taken from source in ꜩ Text format: `DDDDDDD.DDDDDD`. Tez and mutez and separated by a period sign. Trailing and pending zeroes are allowed. dst: name/literal of the destination contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. --bytes-only: return only the byte sequence to be signed
  • prepare multisig transaction on multisig setting delegate to dlgt [--bytes-only]
    Display the threshold, public keys, and byte sequence to sign for a multisigned delegate change. multisig: name of the originated multisig contract dlgt: new delegate of the new multisig contract Can be a public key hash name, a file or a raw public key hash literal. If the parameter is not the name of an existing public key hash, the client will look for a file containing a public key hash, and if it does not exist, the argument will be read as a raw public key hash. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. --bytes-only: return only the byte sequence to be signed
  • prepare multisig transaction on multisig withdrawing delegate [--bytes-only]
    Display the threshold, public keys, and byte sequence to sign for a multisigned delegate withdraw. multisig: name of the originated multisig contract --bytes-only: return only the byte sequence to be signed
  • prepare multisig transaction on multisig setting threshold to threshold and public keys to [key...] [--bytes-only]
    Display the threshold, public keys, and byte sequence to sign for a multisigned change of keys and threshold. multisig: name of the originated multisig contract threshold: Number of required signatures key: Each signer of the multisig contract Can be a public_key name, a file or a raw public_key literal. If the parameter is not the name of an existing public_key, the client will look for a file containing a public_key, and if it does not exist, the argument will be read as a raw public_key. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. --bytes-only: return only the byte sequence to be signed
  • sign multisig transaction on multisig transferring qty to dst using secret key key
    Sign a transaction for a multisig contract. multisig: name of the originated multisig contract qty: amount taken from source in ꜩ Text format: `DDDDDDD.DDDDDD`. Tez and mutez and separated by a period sign. Trailing and pending zeroes are allowed. dst: name/literal of the destination contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. key: Secret key corresponding to one of the public keys stored on the multisig contract Can be a secret_key name, a file or a raw secret_key literal. If the parameter is not the name of an existing secret_key, the client will look for a file containing a secret_key, and if it does not exist, the argument will be read as a raw secret_key. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect.
  • sign multisig transaction on multisig setting delegate to dlgt using secret key key
    Sign a delegate change for a multisig contract. multisig: name of the originated multisig contract dlgt: new delegate of the new multisig contract Can be a public key hash name, a file or a raw public key hash literal. If the parameter is not the name of an existing public key hash, the client will look for a file containing a public key hash, and if it does not exist, the argument will be read as a raw public key hash. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. key: Secret key corresponding to one of the public keys stored on the multisig contract Can be a secret_key name, a file or a raw secret_key literal. If the parameter is not the name of an existing secret_key, the client will look for a file containing a secret_key, and if it does not exist, the argument will be read as a raw secret_key. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect.
  • sign multisig transaction on multisig withdrawing delegate using secret key key
    Sign a delegate withdraw for a multisig contract. multisig: name of the originated multisig contract key: Secret key corresponding to one of the public keys stored on the multisig contract Can be a secret_key name, a file or a raw secret_key literal. If the parameter is not the name of an existing secret_key, the client will look for a file containing a secret_key, and if it does not exist, the argument will be read as a raw secret_key. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect.
  • sign multisig transaction on multisig using secret key key setting threshold to threshold and public keys to [key...]
    Sign a change of public keys and threshold for a multisig contract. multisig: name of the originated multisig contract key: Secret key corresponding to one of the public keys stored on the multisig contract Can be a secret_key name, a file or a raw secret_key literal. If the parameter is not the name of an existing secret_key, the client will look for a file containing a secret_key, and if it does not exist, the argument will be read as a raw secret_key. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. threshold: Number of required signatures key: Each signer of the multisig contract Can be a public_key name, a file or a raw public_key literal. If the parameter is not the name of an existing public_key, the client will look for a file containing a public_key, and if it does not exist, the argument will be read as a raw public_key. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect.
  • from multisig contract multisig transfer qty to dst on behalf of src with signatures [signature...] [--fee <amount>] [-D --dry-run] [-G --gas-limit <amount>] [-S --storage-limit <amount>] [-C --counter <counter>] [-q --no-print-source] [--minimal-fees <amount>] [--minimal-nanotez-per-byte <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--force-low-fee] [--fee-cap <amount>] [--burn-cap <amount>]
    Transfer tokens using a multisig contract. multisig: name/literal of the multisig contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. qty: amount taken from the multisig contract in ꜩ Text format: `DDDDDDD.DDDDDD`. Tez and mutez and separated by a period sign. Trailing and pending zeroes are allowed. dst: name/literal of the destination contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. src: source calling the multisig contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. signature: Each signer of the multisig contract --fee <amount>: fee in ꜩ to pay to the baker -D --dry-run: don't inject the operation, just display it -G --gas-limit <amount>: Set the gas limit of the transaction instead of letting the client decide based on a simulation -S --storage-limit <amount>: Set the storage limit of the transaction instead of letting the client decide based on a simulation -C --counter <counter>: Set the counter to be used by the transaction -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour. --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --force-low-fee: Don't check that the fee is lower than the estimated default value --fee-cap <amount>: Set the fee cap Defaults to `1.0`. --burn-cap <amount>: Set the burn cap Defaults to `0`.
  • set delegate of multisig contract multisig to dlgt on behalf of src with signatures [signature...] [--fee <amount>] [-D --dry-run] [-G --gas-limit <amount>] [-S --storage-limit <amount>] [-C --counter <counter>] [-q --no-print-source] [--minimal-fees <amount>] [--minimal-nanotez-per-byte <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--force-low-fee] [--fee-cap <amount>] [--burn-cap <amount>]
    Change the delegate of a multisig contract. multisig: name of the originated multisig contract dlgt: new delegate of the new multisig contract Can be a public key hash name, a file or a raw public key hash literal. If the parameter is not the name of an existing public key hash, the client will look for a file containing a public key hash, and if it does not exist, the argument will be read as a raw public key hash. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. src: source calling the multisig contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. signature: Each signer of the multisig contract --fee <amount>: fee in ꜩ to pay to the baker -D --dry-run: don't inject the operation, just display it -G --gas-limit <amount>: Set the gas limit of the transaction instead of letting the client decide based on a simulation -S --storage-limit <amount>: Set the storage limit of the transaction instead of letting the client decide based on a simulation -C --counter <counter>: Set the counter to be used by the transaction -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour. --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --force-low-fee: Don't check that the fee is lower than the estimated default value --fee-cap <amount>: Set the fee cap Defaults to `1.0`. --burn-cap <amount>: Set the burn cap Defaults to `0`.
  • withdraw delegate of multisig contract multisig on behalf of src with signatures [signature...] [--fee <amount>] [-D --dry-run] [-G --gas-limit <amount>] [-S --storage-limit <amount>] [-C --counter <counter>] [-q --no-print-source] [--minimal-fees <amount>] [--minimal-nanotez-per-byte <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--force-low-fee] [--fee-cap <amount>] [--burn-cap <amount>]
    Withdrow the delegate of a multisig contract. multisig: name of the originated multisig contract src: source calling the multisig contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. signature: Each signer of the multisig contract --fee <amount>: fee in ꜩ to pay to the baker -D --dry-run: don't inject the operation, just display it -G --gas-limit <amount>: Set the gas limit of the transaction instead of letting the client decide based on a simulation -S --storage-limit <amount>: Set the storage limit of the transaction instead of letting the client decide based on a simulation -C --counter <counter>: Set the counter to be used by the transaction -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour. --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --force-low-fee: Don't check that the fee is lower than the estimated default value --fee-cap <amount>: Set the fee cap Defaults to `1.0`. --burn-cap <amount>: Set the burn cap Defaults to `0`.
  • run transaction bytes on multisig contract multisig on behalf of src with signatures [signature...] [--fee <amount>] [-D --dry-run] [-G --gas-limit <amount>] [-S --storage-limit <amount>] [-C --counter <counter>] [-q --no-print-source] [--minimal-fees <amount>] [--minimal-nanotez-per-byte <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--force-low-fee] [--fee-cap <amount>] [--burn-cap <amount>]
    Run a transaction described by a sequence of bytes on a multisig contract. bytes: the sequence of bytes to deserialize as a multisig action, can be obtained by one of the "prepare multisig transaction" commands multisig: name of the originated multisig contract src: source calling the multisig contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. signature: Each signer of the multisig contract --fee <amount>: fee in ꜩ to pay to the baker -D --dry-run: don't inject the operation, just display it -G --gas-limit <amount>: Set the gas limit of the transaction instead of letting the client decide based on a simulation -S --storage-limit <amount>: Set the storage limit of the transaction instead of letting the client decide based on a simulation -C --counter <counter>: Set the counter to be used by the transaction -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour. --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --force-low-fee: Don't check that the fee is lower than the estimated default value --fee-cap <amount>: Set the fee cap Defaults to `1.0`. --burn-cap <amount>: Set the burn cap Defaults to `0`.
  • show supported multisig hashes
    Show the hashes of the supported multisig contracts.

Binary Description

  • describe unsigned block header
    Describe unsigned block header
  • describe unsigned operation
    Describe unsigned block header

Block contextual commands (see option -block)

  • get timestamp [-s --seconds]
    Access the timestamp of the block. -s --seconds: output time in seconds
  • list contracts
    Lists all non empty contracts of the block.
  • get balance for src
    Get the balance of a contract. src: source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force.
  • get contract storage for src
    Get the storage of a contract. src: source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force.
  • get big map value for key of type type in src
    Get the value associated to a key in the big map storage of a contract (deprecated). key: the key to look for type: type of the key src: source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force.
  • get element key of big map big_map
    Get a value in a big map. key: the key to look for big_map: identifier of the big_map
  • get contract code for src
    Get the code of a contract. src: source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force.
  • get contract entrypoint type of entrypoint for src
    Get the type of an entrypoint of a contract. entrypoint: the entrypoint to describe src: source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force.
  • get contract entrypoints for src
    Get the entrypoint list of a contract. src: source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force.
  • get contract unreachable paths for src
    Get the list of unreachable pathsin a contract's parameter type. src: source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force.
  • get delegate for src
    Get the delegate of a contract. src: source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force.
  • set delegate for src to mgr [--fee <amount>] [-D --dry-run] [--verbose-signing] [--minimal-fees <amount>] [--minimal-nanotez-per-byte <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--force-low-fee] [--fee-cap <amount>] [--burn-cap <amount>]
    Set the delegate of a contract. src: source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. mgr: new delegate of the contract --fee <amount>: fee in ꜩ to pay to the baker -D --dry-run: don't inject the operation, just display it --verbose-signing: display extra information before signing the operation --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --force-low-fee: Don't check that the fee is lower than the estimated default value --fee-cap <amount>: Set the fee cap Defaults to `1.0`. --burn-cap <amount>: Set the burn cap Defaults to `0`.
  • withdraw delegate from src [--fee <amount>] [-D --dry-run] [--verbose-signing] [--minimal-fees <amount>] [--minimal-nanotez-per-byte <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--force-low-fee] [--fee-cap <amount>] [--burn-cap <amount>]
    Withdraw the delegate from a contract. src: source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. --fee <amount>: fee in ꜩ to pay to the baker -D --dry-run: don't inject the operation, just display it --verbose-signing: display extra information before signing the operation --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --force-low-fee: Don't check that the fee is lower than the estimated default value --fee-cap <amount>: Set the fee cap Defaults to `1.0`. --burn-cap <amount>: Set the burn cap Defaults to `0`.
  • originate contract new transferring qty from src running prg [--fee <amount>] [-D --dry-run] [--verbose-signing] [-G --gas-limit <amount>] [-S --storage-limit <amount>] [--delegate <address>] [-f --force] [--init <data>] [-q --no-print-source] [--minimal-fees <amount>] [--minimal-nanotez-per-byte <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--force-low-fee] [--fee-cap <amount>] [--burn-cap <amount>]
    Launch a smart contract on the blockchain. new: name of the new contract qty: amount taken from source in ꜩ Text format: `DDDDDDD.DDDDDD`. Tez and mutez and separated by a period sign. Trailing and pending zeroes are allowed. src: name of the source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. prg: script of the account Combine with -init if the storage type is not unit. Can be a script name, a file or a raw script literal. If the parameter is not the name of an existing script, the client will look for a file containing a script, and if it does not exist, the argument will be read as a raw script. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. --fee <amount>: fee in ꜩ to pay to the baker -D --dry-run: don't inject the operation, just display it --verbose-signing: display extra information before signing the operation -G --gas-limit <amount>: Set the gas limit of the transaction instead of letting the client decide based on a simulation -S --storage-limit <amount>: Set the storage limit of the transaction instead of letting the client decide based on a simulation --delegate <address>: delegate of the contract Must be a known address. Can be a public key hash name, a file or a raw public key hash literal. If the parameter is not the name of an existing public key hash, the client will look for a file containing a public key hash, and if it does not exist, the argument will be read as a raw public key hash. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. -f --force: overwrite existing keys --init <data>: initial value of the contract's storage Defaults to `Unit`. -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour. --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --force-low-fee: Don't check that the fee is lower than the estimated default value --fee-cap <amount>: Set the fee cap Defaults to `1.0`. --burn-cap <amount>: Set the burn cap Defaults to `0`.
  • transfer qty from src to dst [--fee <amount>] [-D --dry-run] [--verbose-signing] [-G --gas-limit <amount>] [-S --storage-limit <amount>] [-C --counter <counter>] [--arg <data>] [-q --no-print-source] [--minimal-fees <amount>] [--minimal-nanotez-per-byte <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--force-low-fee] [--fee-cap <amount>] [--burn-cap <amount>] [--entrypoint <name>]
    Transfer tokens / call a smart contract. qty: amount taken from source in ꜩ Text format: `DDDDDDD.DDDDDD`. Tez and mutez and separated by a period sign. Trailing and pending zeroes are allowed. src: name of the source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. dst: name/literal of the destination contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. --fee <amount>: fee in ꜩ to pay to the baker -D --dry-run: don't inject the operation, just display it --verbose-signing: display extra information before signing the operation -G --gas-limit <amount>: Set the gas limit of the transaction instead of letting the client decide based on a simulation -S --storage-limit <amount>: Set the storage limit of the transaction instead of letting the client decide based on a simulation -C --counter <counter>: Set the counter to be used by the transaction --arg <data>: argument passed to the contract's script, if needed -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour. --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --force-low-fee: Don't check that the fee is lower than the estimated default value --fee-cap <amount>: Set the fee cap Defaults to `1.0`. --burn-cap <amount>: Set the burn cap Defaults to `0`. --entrypoint <name>: entrypoint of the smart contract
  • call from src to dst [--fee <amount>] [-D --dry-run] [--verbose-signing] [-G --gas-limit <amount>] [-S --storage-limit <amount>] [-C --counter <counter>] [--arg <data>] [-q --no-print-source] [--minimal-fees <amount>] [--minimal-nanotez-per-byte <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--force-low-fee] [--fee-cap <amount>] [--burn-cap <amount>] [--entrypoint <name>]
    Call a smart contract (same as 'transfer 0'). src: name of the source contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. dst: name/literal of the destination contract Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. --fee <amount>: fee in ꜩ to pay to the baker -D --dry-run: don't inject the operation, just display it --verbose-signing: display extra information before signing the operation -G --gas-limit <amount>: Set the gas limit of the transaction instead of letting the client decide based on a simulation -S --storage-limit <amount>: Set the storage limit of the transaction instead of letting the client decide based on a simulation -C --counter <counter>: Set the counter to be used by the transaction --arg <data>: argument passed to the contract's script, if needed -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour. --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --force-low-fee: Don't check that the fee is lower than the estimated default value --fee-cap <amount>: Set the fee cap Defaults to `1.0`. --burn-cap <amount>: Set the burn cap Defaults to `0`. --entrypoint <name>: entrypoint of the smart contract
  • reveal key for src [--fee <amount>] [-D --dry-run] [--verbose-signing] [--minimal-fees <amount>] [--minimal-nanotez-per-byte <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--force-low-fee] [--fee-cap <amount>] [--burn-cap <amount>]
    Reveal the public key of the contract manager. src: name of the source contract Can be a contract alias or a key alias (autodetected in order). Use 'key:name' to force the later. --fee <amount>: fee in ꜩ to pay to the baker -D --dry-run: don't inject the operation, just display it --verbose-signing: display extra information before signing the operation --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --force-low-fee: Don't check that the fee is lower than the estimated default value --fee-cap <amount>: Set the fee cap Defaults to `1.0`. --burn-cap <amount>: Set the burn cap Defaults to `0`.
  • register key mgr as delegate [--fee <amount>] [-D --dry-run] [--verbose-signing] [--minimal-fees <amount>] [--minimal-nanotez-per-byte <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--force-low-fee] [--fee-cap <amount>] [--burn-cap <amount>]
    Register the public key hash as a delegate. mgr: the delegate key Can be a public key hash name, a file or a raw public key hash literal. If the parameter is not the name of an existing public key hash, the client will look for a file containing a public key hash, and if it does not exist, the argument will be read as a raw public key hash. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. --fee <amount>: fee in ꜩ to pay to the baker -D --dry-run: don't inject the operation, just display it --verbose-signing: display extra information before signing the operation --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --force-low-fee: Don't check that the fee is lower than the estimated default value --fee-cap <amount>: Set the fee cap Defaults to `1.0`. --burn-cap <amount>: Set the burn cap Defaults to `0`.
  • activate account new with activation_key [-f --force] [--encrypted]
    Register and activate an Alphanet/Zeronet faucet account. new: new secret_key alias activation_key: Activate an Alphanet/Zeronet faucet account from the downloaded JSON file. -f --force: overwrite existing secret_key --encrypted: encrypt the key on-disk
  • submit proposals for delegate [proposal...] [-D --dry-run] [--verbose-signing] [--force]
    Submit protocol proposals delegate: the delegate who makes the proposal proposal: the protocol hash proposal to be submitted -D --dry-run: don't inject the operation, just display it --verbose-signing: display extra information before signing the operation --force: Do not fail when the checks that try to prevent the user from shooting themselves in the foot do.
  • submit ballot for delegate proposal ballot [-D --dry-run]
    Submit a ballot delegate: the delegate who votes proposal: the protocol hash proposal to vote for ballot: the ballot value (yea/yay, nay, or pass) -D --dry-run: don't inject the operation, just display it
  • show voting period
    Summarize the current voting period

Commands for managing the record of known contracts

  • remember contract new src [-f --force]
    Add a contract to the wallet. new: new contract alias src: source contract Can be a contract name, a file or a raw contract literal. If the parameter is not the name of an existing contract, the client will look for a file containing a contract, and if it does not exist, the argument will be read as a raw contract. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. -f --force: overwrite existing contract
  • forget contract name
    Remove a contract from the wallet. name: existing contract alias
  • list known contracts
    Lists all known contracts in the wallet.
  • forget all contracts [-f --force]
    Forget the entire wallet of known contracts. -f --force: overwrite existing contract
  • show known contract name
    Display a contract from the wallet. name: existing contract alias

Commands for managing the library of known scripts

  • list known scripts
    Lists all scripts in the library.
  • remember script new src [-f --force]
    Add a script to the library. new: new script alias src: source script Can be a script name, a file or a raw script literal. If the parameter is not the name of an existing script, the client will look for a file containing a script, and if it does not exist, the argument will be read as a raw script. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. -f --force: overwrite existing script
  • forget script name
    Remove a script from the library. name: existing script alias
  • show known script name
    Display a script from the library. name: existing script alias
  • run script src on storage storage and input input [--trace-stack] [--amount <amount>] [--source <source>] [--payer <payer>] [-q --no-print-source] [-G --gas <gas>] [--entrypoint <name>]
    Ask the node to run a script. src: source script Can be a script name, a file or a raw script literal. If the parameter is not the name of an existing script, the client will look for a file containing a script, and if it does not exist, the argument will be read as a raw script. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. storage: the storage data input: the input data --trace-stack: show the stack after each step --amount <amount>: amount of the transfer in ꜩ Defaults to `0.05`. --source <source>: name of the source (i.e. SENDER) contract for the transaction Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. --payer <payer>: name of the payer (i.e. SOURCE) contract for the transaction Can be an alias, a key, or a literal (autodetected in order). Use 'text:literal', 'alias:name', 'key:name' to force. -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour. -G --gas <gas>: Initial quantity of gas for typechecking and execution --entrypoint <name>: entrypoint of the smart contract
  • typecheck script src [-v --details] [--emacs] [-q --no-print-source] [-G --gas <gas>]
    Ask the node to typecheck a script. src: source script Can be a script name, a file or a raw script literal. If the parameter is not the name of an existing script, the client will look for a file containing a script, and if it does not exist, the argument will be read as a raw script. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. -v --details: show the types of each instruction --emacs: output in `michelson-mode.el` compatible format -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour. -G --gas <gas>: Initial quantity of gas for typechecking and execution
  • typecheck data data against type type [-q --no-print-source] [-G --gas <gas>]
    Ask the node to typecheck a data expression. data: the data to typecheck type: the expected type -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour. -G --gas <gas>: Initial quantity of gas for typechecking and execution
  • hash data data of type type [-G --gas <gas>]
    Ask the node to pack a data expression. The returned hash is the same as what Michelson instruction `PACK` would have produced. Also displays the result of hashing this packed data with `BLAKE2B`, `SHA256` or `SHA512` instruction. data: the data to hash type: type of the data -G --gas <gas>: Initial quantity of gas for typechecking and execution
  • unpack michelson data bytes
    Parse a byte sequence (in hexadecimal notation) as a data expression, as per Michelson instruction `UNPACK`. bytes: the packed data to parse
  • sign bytes data for src
    Sign a raw sequence of bytes and display it using the format expected by Michelson instruction `CHECK_SIGNATURE`. data: the raw data to sign src: source secret_key Can be a secret_key name, a file or a raw secret_key literal. If the parameter is not the name of an existing secret_key, the client will look for a file containing a secret_key, and if it does not exist, the argument will be read as a raw secret_key. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect.
  • check that bytes was signed by key to produce signature [-q --quiet]
    Check the signature of a byte sequence as per Michelson instruction `CHECK_SIGNATURE`. bytes: the signed data key: existing public_key alias signature: the signature to check -q --quiet: Use only exit codes
  • get script entrypoint type of entrypoint for src [--emacs] [-q --no-print-source]
    Ask the type of an entrypoint of a script. entrypoint: the entrypoint to describe src: source script Can be a script name, a file or a raw script literal. If the parameter is not the name of an existing script, the client will look for a file containing a script, and if it does not exist, the argument will be read as a raw script. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. --emacs: output in `michelson-mode.el` compatible format -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour.
  • get script entrypoints for src [--emacs] [-q --no-print-source]
    Ask the node to list the entrypoints of a script. src: source script Can be a script name, a file or a raw script literal. If the parameter is not the name of an existing script, the client will look for a file containing a script, and if it does not exist, the argument will be read as a raw script. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. --emacs: output in `michelson-mode.el` compatible format -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour.
  • get script unreachable paths for src [--emacs] [-q --no-print-source]
    Ask the node to list the unreachable pathsin a script's parameter type. src: source script Can be a script name, a file or a raw script literal. If the parameter is not the name of an existing script, the client will look for a file containing a script, and if it does not exist, the argument will be read as a raw script. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. --emacs: output in `michelson-mode.el` compatible format -q --no-print-source: don't print the source code If an error is encountered, the client will print the contract's source code by default. This option disables this behaviour.

Commands related to delegate operations.

  • bake for baker [--max-priority <slot>] [--minimal-fees <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--minimal-nanotez-per-byte <amount>] [-f --force] [--minimal-timestamp] [--mempool <file>] [--context <path>]
    Forge and inject block using the delegate rights. baker: name of the delegate owning the baking right Can be a public key hash name, a file or a raw public key hash literal. If the parameter is not the name of an existing public key hash, the client will look for a file containing a public key hash, and if it does not exist, the argument will be read as a raw public key hash. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. --max-priority <slot>: maximum allowed baking slot --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`. -f --force: disables the node's injection checks Force the injection of branch-invalid operation or force the injection of block without a fitness greater than the current head. --minimal-timestamp: Use the minimal timestamp instead of the current date as timestamp of the baked block. --mempool <file>: When used the client will read the mempool in the provided file instead of querying the node through an RPC (useful for debugging only). --context <path>: When use the client will read in the local context at the provided path in order to build the block, instead of relying on the 'preapply' RPC.
  • reveal nonce for [block_hash...]
    Forge and inject a seed-nonce revelation operation. block_hash: A block identifier
  • reveal nonces
    Forge and inject all the possible seed-nonce revelation operations.
  • endorse for baker
    Forge and inject an endorsement operation. baker: name of the delegate owning the endorsement right Can be a public key hash name, a file or a raw public key hash literal. If the parameter is not the name of an existing public key hash, the client will look for a file containing a public key hash, and if it does not exist, the argument will be read as a raw public key hash. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect.
  • filter orphan nonces
    Clear the nonces file by removing the nonces which blocks cannot be found on the chain.
  • list orphan nonces
    List orphan nonces.

Commands for managing the wallet of cryptographic keys

  • list signing schemes
    List supported signing schemes. Signing schemes are identifiers for signer modules: the built-in signing routines, a hardware wallet, an external agent, etc. Each signer has its own format for describing secret keys, such a raw secret key for the default `unencrypted` scheme, the path on a hardware security module, an alias for an external agent, etc. This command gives the list of signer modules that this version of the tezos client supports.
  • gen keys new [-f --force] [-s --sig <ed25519|secp256k1|p256>] [--encrypted]
    Generate a pair of keys. new: new secret_key alias -f --force: overwrite existing secret_key -s --sig <ed25519|secp256k1|p256>: use custom signature algorithm Defaults to `ed25519`. --encrypted: Encrypt the key on-disk
  • gen vanity keys new matching [words...] [-P --prefix] [-f --force] [--encrypted]
    Generate keys including the given string. new: new public key hash alias words: string key must contain one of these words -P --prefix: the key must begin with tz1[word] -f --force: overwrite existing keys --encrypted: Encrypt the key on-disk
  • encrypt secret key
    Encrypt an unencrypted secret key.
  • import secret key new uri [-f --force]
    Add a secret key to the wallet. new: new secret_key alias uri: secret key Varies from one scheme to the other. Use command `list signing schemes` for more information. -f --force: overwrite existing secret_key
  • import public key new uri [-f --force]
    Add a public key to the wallet. new: new public_key alias uri: public key Varies from one scheme to the other. Use command `list signing schemes` for more information. -f --force: overwrite existing public_key
  • add address new src [-f --force]
    Add an address to the wallet. new: new public key hash alias src: source public key hash Can be a public key hash name, a file or a raw public key hash literal. If the parameter is not the name of an existing public key hash, the client will look for a file containing a public key hash, and if it does not exist, the argument will be read as a raw public key hash. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. -f --force: overwrite existing public_key
  • list known addresses
    List all addresses and associated keys.
  • show address name [-S --show-secret]
    Show the keys associated with an implicit account. name: existing public key hash alias -S --show-secret: show the private key
  • forget address name [-f --force]
    Forget one address. name: existing public key hash alias -f --force: delete associated keys when present
  • forget all keys [-f --force]
    Forget the entire wallet of keys. -f --force: you got to use the force for that
  • generate nonce for name from data
    Compute deterministic nonce. name: existing public key hash alias data: string from which to deterministically generate the nonce
  • generate nonce hash for name from data
    Compute deterministic nonce hash. name: existing public key hash alias data: string from which to deterministically generate the nonce hash

Commands for managing the connected Ledger Nano devices

  • list connected ledgers
    List supported Ledger Nano devices connected.
  • show ledger account-alias-or-ledger-uri [--test-sign]
    Display version/public-key/address information for a Ledger URI account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path"). --test-sign: Test signing operation
  • get ledger authorized path for account-alias-or-ledger-uri
    Query the path of the authorized key account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path").
  • authorize ledger to bake for account-alias-or-ledger-uri
    Authorize a Ledger to bake for a key (deprecated, use `setup ledger ...` with recent versions of the Baking app) account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path").
  • setup ledger to bake for account-alias-or-ledger-uri [--main-chain-id <ID>] [--main-hwm <HWM>] [--test-hwm <HWM>]
    Setup a Ledger to bake for a key account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path"). --main-chain-id <ID>: Use <ID> as main chain-id instead of asking the node. Defaults to `ASK-NODE`. --main-hwm <HWM>: Use <HWM> as main chain high watermark instead of asking the ledger. Defaults to `ASK-LEDGER`. --test-hwm <HWM>: Use <HWM> as test chain high watermark instead of asking the ledger. Defaults to `ASK-LEDGER`.
  • deauthorize ledger baking for account-alias-or-ledger-uri
    Deauthorize Ledger from baking account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path").
  • get ledger high water mark for account-alias-or-ledger-uri [--no-legacy-instructions]
    Get high water mark of a Ledger account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path"). --no-legacy-instructions: Prevent the fallback to the (deprecated) Ledger instructions (for 1.x.y versions of the Baking app)
  • set ledger high water mark for account-alias-or-ledger-uri to high watermark
    Set high water mark of a Ledger account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path"). high watermark: High watermark
  • get ledger high watermark for account-alias-or-ledger-uri [--no-legacy-instructions]
    Get high water mark of a Ledger (legacy/deprecated spelling) account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path"). --no-legacy-instructions: Prevent the fallback to the (deprecated) Ledger instructions (for 1.x.y versions of the Baking app)
  • set ledger high watermark for account-alias-or-ledger-uri to high watermark
    Set high water mark of a Ledger (legacy/deprecated spelling) account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path"). high watermark: High watermark

Commands for the low level RPC layer

  • rpc list url
    List RPCs under a given URL prefix. Some parts of the RPC service hierarchy depend on parameters, they are marked by a suffix `<dynamic>`. You can list these sub-hierarchies by providing a concrete URL prefix whose arguments are set to a valid value. url: the URL prefix
  • rpc list
    Alias to `rpc list /`.
  • rpc schema HTTP method url
    Get the input and output JSON schemas of an RPC. HTTP method: url: the RPC url
  • rpc format HTTP method url [-b --binary]
    Get the humanoid readable input and output formats of an RPC. HTTP method: url: the RPC URL -b --binary: Binary format
  • rpc get url
    Call an RPC with the GET method. url: the RPC URL
  • rpc post url
    Call an RPC with the POST method. It invokes $EDITOR if input data is needed. url: the RPC URL
  • rpc post url with input
    Call an RPC with the POST method, providing input data via the command line. url: the RPC URL input: the raw JSON input to the RPC For instance, use `{}` to send the empty document. Alternatively, use `file:path` to read the JSON data from a file.
  • rpc put url
    Call an RPC with the PUT method. It invokes $EDITOR if input data is needed. url: the RPC URL
  • rpc put url with input
    Call an RPC with the PUT method, providing input data via the command line. url: the RPC URL input: the raw JSON input to the RPC For instance, use `{}` to send the empty document. Alternatively, use `file:path` to read the JSON data from a file.
  • rpc delete url
    Call an RPC with the DELETE method. url: the RPC URL

Commands for editing and viewing the client's config file

  • config show
    Show the config file.
  • config reset
    Reset the config file to the factory defaults.
  • config update
    Update the config based on the current cli values. Loads the current configuration (default or as specified with `-config-file`), applies alterations from other command line arguments (such as the node's address, etc.), and overwrites the updated configuration file.
  • config init [-o --output <path>]
    Create a config file based on the current CLI values. If the `-file` option is not passed, this will initialize the default config file, based on default parameters, altered by other command line options (such as the node's address, etc.). Otherwise, it will create a new config file, based on the default parameters (or the the ones specified with `-config-file`), altered by other command line options. The command will always fail if the file already exists. -o --output <path>: path at which to create the file Defaults to `$HOME/.tezos-client/config`.

Miscellaneous commands

  • list understood protocols
    List the protocol versions that this client understands.
  • complete prefix [-u --unique]
    Autocomplete a prefix of Base58Check-encoded hash. This actually works only for blocks, operations, public key and contract identifiers. prefix: the prefix of the hash to complete -u --unique: Fail when there is more than one possible completion.
  • bootstrapped
    Wait for the node to be bootstrapped.
  • wait for operation to be included [--confirmations <num_blocks>] [--check-previous <num_blocks>] [--branch <block_hash>]
    Wait until an operation is included in a block operation: Operation to be included --confirmations <num_blocks>: wait until 'N' additional blocks after the operation appears in the considered chain Defaults to `0`. --check-previous <num_blocks>: number of previous blocks to check Defaults to `10`. --branch <block_hash>: hash of the oldest block where we should look for the operation
  • get receipt for operation [--check-previous <num_blocks>]
    Get receipt for past operation operation: Operation to be looked up --check-previous <num_blocks>: number of previous blocks to check Defaults to `10`.

Admin-client manual

Usage

  • tezos-admin-client [global options] command [command options]
  • tezos-admin-client --help (for global options)
  • tezos-admin-client [global options] command --help (for command options)

To browse the documentation

  • tezos-admin-client [global options] man (for a list of commands)
  • tezos-admin-client [global options] man -v 3 (for the full manual)

Global options (must come before the command)

-d --base-dir <path>: client data directory The directory where the Tezos client will store all its data. By default: '$HOME/.tezos-client'. -c --config-file <path>: configuration file -t --timings: show RPC request times --chain <hash|tag>: chain on which to apply contextual commands (possible tags are 'main' and 'test') Defaults to `main`. -b --block <hash|tag>: block on which to apply contextual commands (possible tags are 'head' and 'genesis') Defaults to `head`. -w --wait <none|<int>>: how many confirmation blocks before to consider an operation as included -p --protocol <hash>: use commands of a specific protocol -l --log-requests: log all requests to the node -A --addr <IP addr|host>: IP address of the node -P --port <number>: RPC port of the node -S --tls: use TLS to connect to node. -R --remote-signer <uri>: URI of the remote signer -f --password-filename <filename>: path to the password filename

Access the documentation

  • man [keyword...] [-v --verbosity <0|1|2|3>] [--format <plain|colors|html>]
    Print documentation of commands. Add search keywords to narrow list. Will display only the commands by default, unless [-verbosity <2|3>] is passed or the list of matching commands if less than 3. keyword: keyword to search for If several are given they must all appear in the command. -v --verbosity <0|1|2|3>: level of details 0. Only shows command mnemonics, without documentation. 1. Shows command mnemonics with short descriptions. 2. Show commands and arguments with short descriptions 3. Show everything --format <plain|colors|html>: the manual's output format Defaults to `plain`.

Commands to inspect the event-logging framework

  • query events from Sink-Name [--names <LIST>] [--sections <LIST>] [--since <DATE>] [--until <DATE>] [--as-json] [--dump-unknown] [--for-script <FORMAT>]
    Query the events from an event sink. Sink-Name: The URI of the SINK to query --names <LIST>: Filter on event names --sections <LIST>: Filter on event sections (use '_' for no-section) --since <DATE>: Filter out events before DATE --until <DATE>: Filter out events after DATE --as-json: Display events as JSON instead of pretty-printing them --dump-unknown: Try to display unknown events --for-script <FORMAT>: Make the output script-friendly
  • show event-logging
    Display configuration/state information about the internal-event logging framework.
  • output schema of Event-Name to File-path
    Output the JSON schema of an internal-event. Event-Name: Name of the event File-path: Path to a JSON file

Commands for the low level RPC layer

  • rpc list url
    List RPCs under a given URL prefix. Some parts of the RPC service hierarchy depend on parameters, they are marked by a suffix `<dynamic>`. You can list these sub-hierarchies by providing a concrete URL prefix whose arguments are set to a valid value. url: the URL prefix
  • rpc list
    Alias to `rpc list /`.
  • rpc schema HTTP method url
    Get the input and output JSON schemas of an RPC. HTTP method: url: the RPC url
  • rpc format HTTP method url [-b --binary]
    Get the humanoid readable input and output formats of an RPC. HTTP method: url: the RPC URL -b --binary: Binary format
  • rpc get url
    Call an RPC with the GET method. url: the RPC URL
  • rpc post url
    Call an RPC with the POST method. It invokes $EDITOR if input data is needed. url: the RPC URL
  • rpc post url with input
    Call an RPC with the POST method, providing input data via the command line. url: the RPC URL input: the raw JSON input to the RPC For instance, use `{}` to send the empty document. Alternatively, use `file:path` to read the JSON data from a file.
  • rpc put url
    Call an RPC with the PUT method. It invokes $EDITOR if input data is needed. url: the RPC URL
  • rpc put url with input
    Call an RPC with the PUT method, providing input data via the command line. url: the RPC URL input: the raw JSON input to the RPC For instance, use `{}` to send the empty document. Alternatively, use `file:path` to read the JSON data from a file.
  • rpc delete url
    Call an RPC with the DELETE method. url: the RPC URL

Commands for managing protocols

  • list protocols
    List protocols known by the node.
  • inject protocol dir
    Inject a new protocol into the node. dir: directory containing the sources of a protocol
  • dump protocol protocol hash
    Dump a protocol from the node's record of protocol. protocol hash:
  • fetch protocol protocol hash
    Fetch a protocol from the network. protocol hash: A Tezos protocol ID

Commands for monitoring and controlling p2p-layer state

  • p2p stat
    show global network status
  • connect address address
    Connect to a new point. address: <IPv4>:PORT or <IPV6>:PORT address (PORT defaults to 9732).
  • kick peer peer
    Kick a peer. peer: peer network identity
  • ban address address
    Add an IP address and all its ports to the blacklist and kicks it. Remove the address from the whitelist if it was previously in it. address: <IPv4>:PORT or <IPV6>:PORT address (PORT defaults to 9732).
  • unban address address
    Remove an IP address and all its ports from the blacklist. address: <IPv4>:PORT or <IPV6>:PORT address (PORT defaults to 9732).
  • trust address address
    Add an IP address to the whitelist. Remove the address from the blacklist if it was previously in it. address: <IPv4>:PORT or <IPV6>:PORT address (PORT defaults to 9732).
  • untrust address address
    Removes an IP address from the whitelist. address: <IPv4>:PORT or <IPV6>:PORT address (PORT defaults to 9732).
  • is address banned address
    Check if an IP address is banned. address: <IPv4>:PORT or <IPV6>:PORT address (PORT defaults to 9732).
  • is peer banned peer
    Check if a peer ID is banned. peer: peer network identity
  • ban peer peer
    Add a peer ID to the blacklist and kicks it. Remove the peer ID from the blacklist if was previously in it. peer: peer network identity
  • unban peer peer
    Removes a peer ID from the blacklist. peer: peer network identity
  • trust peer peer
    Add a peer ID to the whitelist. Remove the peer ID from the blacklist if it was previously in it. peer: peer network identity
  • untrust peer peer
    Remove a peer ID from the whitelist. peer: peer network identity
  • clear acls
    Clear all access control rules.

Commands to perform privileged operations on the node

  • unmark invalid [block...]
    Make the node forget its decision of rejecting blocks. block: blocks to remove from invalid list
  • unmark all invalid blocks
    Make the node forget every decision of rejecting blocks.
  • show current checkpoint
    Retrieve the current checkpoint and display it in a format compatible with node argument `--checkpoint`.

Commands to report the node's status

  • list heads [-o --output <path>]
    The last heads that have been considered by the node. -o --output <path>: write to a file Defaults to `-`.
  • list rejected blocks [-o --output <path>]
    The blocks that have been marked invalid by the node. -o --output <path>: write to a file Defaults to `-`.

Commands for editing and viewing the client's config file

  • config show
    Show the config file.
  • config reset
    Reset the config file to the factory defaults.
  • config update
    Update the config based on the current cli values. Loads the current configuration (default or as specified with `-config-file`), applies alterations from other command line arguments (such as the node's address, etc.), and overwrites the updated configuration file.
  • config init [-o --output <path>]
    Create a config file based on the current CLI values. If the `-file` option is not passed, this will initialize the default config file, based on default parameters, altered by other command line options (such as the node's address, etc.). Otherwise, it will create a new config file, based on the default parameters (or the the ones specified with `-config-file`), altered by other command line options. The command will always fail if the file already exists. -o --output <path>: path at which to create the file Defaults to `$HOME/.tezos-client/config`.

Miscellaneous commands

  • list understood protocols
    List the protocol versions that this client understands.

Signer manual

Usage

  • tezos-signer [global options] command [command options]
  • tezos-signer --help (for global options)
  • tezos-signer [global options] command --help (for command options)

To browse the documentation

  • tezos-signer [global options] man (for a list of commands)
  • tezos-signer [global options] man -v 3 (for the full manual)

Global options (must come before the command)

-d --base-dir <path>: signer data directory The directory where the Tezos client will store all its data. By default: '$HOME/.tezos-signer'. -A --require-authentication: Require a signature from the caller to sign. -f --password-file <filename>: Absolute path of the password file

Access the documentation

  • man [keyword...] [-v --verbosity <0|1|2|3>] [--format <plain|colors|html>]
    Print documentation of commands. Add search keywords to narrow list. Will display only the commands by default, unless [-verbosity <2|3>] is passed or the list of matching commands if less than 3. keyword: keyword to search for If several are given they must all appear in the command. -v --verbosity <0|1|2|3>: level of details 0. Only shows command mnemonics, without documentation. 1. Shows command mnemonics with short descriptions. 2. Show commands and arguments with short descriptions 3. Show everything --format <plain|colors|html>: the manual's output format Defaults to `plain`.

Commands specific to the signing daemon

  • launch socket signer [-P --pidfile <filename>] [-M --magic-bytes <0xHH,0xHH,...>] [-W --check-high-watermark] [-a --address <host|address>] [-p --port <port number>]
    Launch a signer daemon over a TCP socket. -P --pidfile <filename>: write process id in file -M --magic-bytes <0xHH,0xHH,...>: values allowed for the magic bytes, defaults to any -W --check-high-watermark: high watermark restriction Stores the highest level signed for blocks and endorsements for each address, and forbids to sign a level that is inferior or equal afterwards, except for the exact same input data. -a --address <host|address>: listening address or host name Defaults to `localhost`. -p --port <port number>: listening TCP port or service name Defaults to `7732`.
  • launch local signer [-P --pidfile <filename>] [-M --magic-bytes <0xHH,0xHH,...>] [-W --check-high-watermark] [-s --socket <path>]
    Launch a signer daemon over a local Unix socket. -P --pidfile <filename>: write process id in file -M --magic-bytes <0xHH,0xHH,...>: values allowed for the magic bytes, defaults to any -W --check-high-watermark: high watermark restriction Stores the highest level signed for blocks and endorsements for each address, and forbids to sign a level that is inferior or equal afterwards, except for the exact same input data. -s --socket <path>: path to the local socket file Defaults to `$HOME/.tezos-signer/socket`.
  • launch http signer [-P --pidfile <filename>] [-M --magic-bytes <0xHH,0xHH,...>] [-W --check-high-watermark] [-a --address <host|address>] [-p --port <port number>]
    Launch a signer daemon over HTTP. -P --pidfile <filename>: write process id in file -M --magic-bytes <0xHH,0xHH,...>: values allowed for the magic bytes, defaults to any -W --check-high-watermark: high watermark restriction Stores the highest level signed for blocks and endorsements for each address, and forbids to sign a level that is inferior or equal afterwards, except for the exact same input data. -a --address <host|address>: listening address or host name Defaults to `localhost`. -p --port <port number>: listening HTTP port Defaults to `6732`.
  • launch https signer cert key [-P --pidfile <filename>] [-M --magic-bytes <0xHH,0xHH,...>] [-W --check-high-watermark] [-a --address <host|address>] [-p --port <port number>]
    Launch a signer daemon over HTTPS. cert: path to the TLS certificate key: path to the TLS key -P --pidfile <filename>: write process id in file -M --magic-bytes <0xHH,0xHH,...>: values allowed for the magic bytes, defaults to any -W --check-high-watermark: high watermark restriction Stores the highest level signed for blocks and endorsements for each address, and forbids to sign a level that is inferior or equal afterwards, except for the exact same input data. -a --address <host|address>: listening address or host name Defaults to `localhost`. -p --port <port number>: listening HTTPS port Defaults to `443`.
  • add authorized key pk [-N --name <name>]
    Authorize a given public key to perform signing requests. pk: full public key (Base58 encoded) -N --name <name>: an optional name for the key (defaults to the hash)

Commands for managing the wallet of cryptographic keys

  • list signing schemes
    List supported signing schemes. Signing schemes are identifiers for signer modules: the built-in signing routines, a hardware wallet, an external agent, etc. Each signer has its own format for describing secret keys, such a raw secret key for the default `unencrypted` scheme, the path on a hardware security module, an alias for an external agent, etc. This command gives the list of signer modules that this version of the tezos client supports.
  • gen keys new [-f --force] [-s --sig <ed25519|secp256k1|p256>]
    Generate a pair of keys. new: new secret_key alias -f --force: overwrite existing secret_key -s --sig <ed25519|secp256k1|p256>: use custom signature algorithm Defaults to `ed25519`.
  • gen vanity keys new matching [words...] [-P --prefix] [-f --force]
    Generate keys including the given string. new: new public key hash alias words: string key must contain one of these words -P --prefix: the key must begin with tz1[word] -f --force: overwrite existing keys
  • encrypt secret key
    Encrypt an unencrypted secret key.
  • import secret key new uri [-f --force]
    Add a secret key to the wallet. new: new secret_key alias uri: secret key Varies from one scheme to the other. Use command `list signing schemes` for more information. -f --force: overwrite existing secret_key
  • import fundraiser secret key new [-f --force]
    Add a fundraiser secret key to the wallet. new: new secret_key alias -f --force: overwrite existing secret_key
  • import public key new uri [-f --force]
    Add a public key to the wallet. new: new public_key alias uri: public key Varies from one scheme to the other. Use command `list signing schemes` for more information. -f --force: overwrite existing public_key
  • add address new src [-f --force]
    Add an address to the wallet. new: new public key hash alias src: source public key hash Can be a public key hash name, a file or a raw public key hash literal. If the parameter is not the name of an existing public key hash, the client will look for a file containing a public key hash, and if it does not exist, the argument will be read as a raw public key hash. Use 'alias:name', 'file:path' or 'text:literal' to disable autodetect. -f --force: overwrite existing public_key
  • list known addresses
    List all addresses and associated keys.
  • show address name [-S --show-secret]
    Show the keys associated with an implicit account. name: existing public key hash alias -S --show-secret: show the private key
  • forget address name [-f --force]
    Forget one address. name: existing public key hash alias -f --force: delete associated keys when present
  • forget all keys [-f --force]
    Forget the entire wallet of keys. -f --force: you got to use the force for that
  • generate nonce for name from data
    Compute deterministic nonce. name: existing public key hash alias data: string from which to deterministically generate the nonce
  • generate nonce hash for name from data
    Compute deterministic nonce hash. name: existing public key hash alias data: string from which to deterministically generate the nonce hash

Commands for managing the connected Ledger Nano devices

  • list connected ledgers
    List supported Ledger Nano devices connected.
  • show ledger account-alias-or-ledger-uri [--test-sign]
    Display version/public-key/address information for a Ledger URI account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path"). --test-sign: Test signing operation
  • get ledger authorized path for account-alias-or-ledger-uri
    Query the path of the authorized key account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path").
  • authorize ledger to bake for account-alias-or-ledger-uri
    Authorize a Ledger to bake for a key (deprecated, use `setup ledger ...` with recent versions of the Baking app) account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path").
  • setup ledger to bake for account-alias-or-ledger-uri [--main-chain-id <ID>] [--main-hwm <HWM>] [--test-hwm <HWM>]
    Setup a Ledger to bake for a key account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path"). --main-chain-id <ID>: Use <ID> as main chain-id instead of asking the node. Defaults to `ASK-NODE`. --main-hwm <HWM>: Use <HWM> as main chain high watermark instead of asking the ledger. Defaults to `ASK-LEDGER`. --test-hwm <HWM>: Use <HWM> as test chain high watermark instead of asking the ledger. Defaults to `ASK-LEDGER`.
  • deauthorize ledger baking for account-alias-or-ledger-uri
    Deauthorize Ledger from baking account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path").
  • get ledger high water mark for account-alias-or-ledger-uri [--no-legacy-instructions]
    Get high water mark of a Ledger account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path"). --no-legacy-instructions: Prevent the fallback to the (deprecated) Ledger instructions (for 1.x.y versions of the Baking app)
  • set ledger high water mark for account-alias-or-ledger-uri to high watermark
    Set high water mark of a Ledger account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path"). high watermark: High watermark
  • get ledger high watermark for account-alias-or-ledger-uri [--no-legacy-instructions]
    Get high water mark of a Ledger (legacy/deprecated spelling) account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path"). --no-legacy-instructions: Prevent the fallback to the (deprecated) Ledger instructions (for 1.x.y versions of the Baking app)
  • set ledger high watermark for account-alias-or-ledger-uri to high watermark
    Set high water mark of a Ledger (legacy/deprecated spelling) account-alias-or-ledger-uri: An imported ledger alias or a ledger URI (e.g. "ledger://animal/curve/path"). high watermark: High watermark

Baker manual

Usage

  • tezos-baker-005-PsBabyM1 [global options] command [command options]
  • tezos-baker-005-PsBabyM1 --help (for global options)
  • tezos-baker-005-PsBabyM1 [global options] command --help (for command options)

To browse the documentation

  • tezos-baker-005-PsBabyM1 [global options] man (for a list of commands)
  • tezos-baker-005-PsBabyM1 [global options] man -v 3 (for the full manual)

Global options (must come before the command)

-d --base-dir <path>: client data directory The directory where the Tezos client will store all its data. By default: '$HOME/.tezos-client'. -c --config-file <path>: configuration file -t --timings: show RPC request times --chain <hash|tag>: chain on which to apply contextual commands (possible tags are 'main' and 'test') Defaults to `main`. -b --block <hash|tag>: block on which to apply contextual commands (possible tags are 'head' and 'genesis') Defaults to `head`. -w --wait <none|<int>>: how many confirmation blocks before to consider an operation as included -p --protocol <hash>: use commands of a specific protocol -l --log-requests: log all requests to the node -A --addr <IP addr|host>: IP address of the node -P --port <number>: RPC port of the node -S --tls: use TLS to connect to node. -R --remote-signer <uri>: URI of the remote signer -f --password-filename <filename>: path to the password filename

Access the documentation

  • man [keyword...] [-v --verbosity <0|1|2|3>] [--format <plain|colors|html>]
    Print documentation of commands. Add search keywords to narrow list. Will display only the commands by default, unless [-verbosity <2|3>] is passed or the list of matching commands if less than 3. keyword: keyword to search for If several are given they must all appear in the command. -v --verbosity <0|1|2|3>: level of details 0. Only shows command mnemonics, without documentation. 1. Shows command mnemonics with short descriptions. 2. Show commands and arguments with short descriptions 3. Show everything --format <plain|colors|html>: the manual's output format Defaults to `plain`.

Commands related to the baker daemon.

  • run with local node context_path [name...] [-P --pidfile <filename>] [--max-priority <slot>] [--minimal-fees <amount>] [--minimal-nanotez-per-gas-unit <amount>] [--minimal-nanotez-per-byte <amount>]
    Launch the baker daemon. context_path: Path to the node data directory (e.g. $HOME/.tezos-node) name: existing public key hash alias -P --pidfile <filename>: write process id in file --max-priority <slot>: maximum allowed baking slot --minimal-fees <amount>: exclude operations with fees lower than this threshold (in tez) Defaults to `0.0001`. --minimal-nanotez-per-gas-unit <amount>: exclude operations with fees per gas lower than this threshold (in nanotez) Defaults to `100`. --minimal-nanotez-per-byte <amount>: exclude operations with fees per byte lower than this threshold (in nanotez) Defaults to `1000`.

Commands for editing and viewing the client's config file

  • config show
    Show the config file.
  • config reset
    Reset the config file to the factory defaults.
  • config update
    Update the config based on the current cli values. Loads the current configuration (default or as specified with `-config-file`), applies alterations from other command line arguments (such as the node's address, etc.), and overwrites the updated configuration file.
  • config init [-o --output <path>]
    Create a config file based on the current CLI values. If the `-file` option is not passed, this will initialize the default config file, based on default parameters, altered by other command line options (such as the node's address, etc.). Otherwise, it will create a new config file, based on the default parameters (or the the ones specified with `-config-file`), altered by other command line options. The command will always fail if the file already exists. -o --output <path>: path at which to create the file Defaults to `$HOME/.tezos-client/config`.

Miscellaneous commands

  • list understood protocols
    List the protocol versions that this client understands.

Endorser manual

Usage

  • tezos-endorser-005-PsBabyM1 [global options] command [command options]
  • tezos-endorser-005-PsBabyM1 --help (for global options)
  • tezos-endorser-005-PsBabyM1 [global options] command --help (for command options)

To browse the documentation

  • tezos-endorser-005-PsBabyM1 [global options] man (for a list of commands)
  • tezos-endorser-005-PsBabyM1 [global options] man -v 3 (for the full manual)

Global options (must come before the command)

-d --base-dir <path>: client data directory The directory where the Tezos client will store all its data. By default: '$HOME/.tezos-client'. -c --config-file <path>: configuration file -t --timings: show RPC request times --chain <hash|tag>: chain on which to apply contextual commands (possible tags are 'main' and 'test') Defaults to `main`. -b --block <hash|tag>: block on which to apply contextual commands (possible tags are 'head' and 'genesis') Defaults to `head`. -w --wait <none|<int>>: how many confirmation blocks before to consider an operation as included -p --protocol <hash>: use commands of a specific protocol -l --log-requests: log all requests to the node -A --addr <IP addr|host>: IP address of the node -P --port <number>: RPC port of the node -S --tls: use TLS to connect to node. -R --remote-signer <uri>: URI of the remote signer -f --password-filename <filename>: path to the password filename

Access the documentation

  • man [keyword...] [-v --verbosity <0|1|2|3>] [--format <plain|colors|html>]
    Print documentation of commands. Add search keywords to narrow list. Will display only the commands by default, unless [-verbosity <2|3>] is passed or the list of matching commands if less than 3. keyword: keyword to search for If several are given they must all appear in the command. -v --verbosity <0|1|2|3>: level of details 0. Only shows command mnemonics, without documentation. 1. Shows command mnemonics with short descriptions. 2. Show commands and arguments with short descriptions 3. Show everything --format <plain|colors|html>: the manual's output format Defaults to `plain`.

Commands related to endorser daemon.

  • run [name...] [-P --pidfile <filename>] [--endorsement-delay <seconds>]
    Launch the endorser daemon name: existing public key hash alias -P --pidfile <filename>: write process id in file --endorsement-delay <seconds>: delay before endorsing blocks Delay between notifications of new blocks from the node and production of endorsements for these blocks. Defaults to `5`.

Commands for editing and viewing the client's config file

  • config show
    Show the config file.
  • config reset
    Reset the config file to the factory defaults.
  • config update
    Update the config based on the current cli values. Loads the current configuration (default or as specified with `-config-file`), applies alterations from other command line arguments (such as the node's address, etc.), and overwrites the updated configuration file.
  • config init [-o --output <path>]
    Create a config file based on the current CLI values. If the `-file` option is not passed, this will initialize the default config file, based on default parameters, altered by other command line options (such as the node's address, etc.). Otherwise, it will create a new config file, based on the default parameters (or the the ones specified with `-config-file`), altered by other command line options. The command will always fail if the file already exists. -o --output <path>: path at which to create the file Defaults to `$HOME/.tezos-client/config`.

Miscellaneous commands

  • list understood protocols
    List the protocol versions that this client understands.

Accuser manual

Usage

  • tezos-accuser-005-PsBabyM1 [global options] command [command options]
  • tezos-accuser-005-PsBabyM1 --help (for global options)
  • tezos-accuser-005-PsBabyM1 [global options] command --help (for command options)

To browse the documentation

  • tezos-accuser-005-PsBabyM1 [global options] man (for a list of commands)
  • tezos-accuser-005-PsBabyM1 [global options] man -v 3 (for the full manual)

Global options (must come before the command)

-d --base-dir <path>: client data directory The directory where the Tezos client will store all its data. By default: '$HOME/.tezos-client'. -c --config-file <path>: configuration file -t --timings: show RPC request times --chain <hash|tag>: chain on which to apply contextual commands (possible tags are 'main' and 'test') Defaults to `main`. -b --block <hash|tag>: block on which to apply contextual commands (possible tags are 'head' and 'genesis') Defaults to `head`. -w --wait <none|<int>>: how many confirmation blocks before to consider an operation as included -p --protocol <hash>: use commands of a specific protocol -l --log-requests: log all requests to the node -A --addr <IP addr|host>: IP address of the node -P --port <number>: RPC port of the node -S --tls: use TLS to connect to node. -R --remote-signer <uri>: URI of the remote signer -f --password-filename <filename>: path to the password filename

Access the documentation

  • man [keyword...] [-v --verbosity <0|1|2|3>] [--format <plain|colors|html>]
    Print documentation of commands. Add search keywords to narrow list. Will display only the commands by default, unless [-verbosity <2|3>] is passed or the list of matching commands if less than 3. keyword: keyword to search for If several are given they must all appear in the command. -v --verbosity <0|1|2|3>: level of details 0. Only shows command mnemonics, without documentation. 1. Shows command mnemonics with short descriptions. 2. Show commands and arguments with short descriptions 3. Show everything --format <plain|colors|html>: the manual's output format Defaults to `plain`.

Commands related to the accuser daemon.

  • run [-P --pidfile <filename>] [--preserved-levels <threshold>]
    Launch the accuser daemon -P --pidfile <filename>: write process id in file --preserved-levels <threshold>: Number of effective levels kept in the accuser's memory Defaults to `4096`.

Commands for editing and viewing the client's config file

  • config show
    Show the config file.
  • config reset
    Reset the config file to the factory defaults.
  • config update
    Update the config based on the current cli values. Loads the current configuration (default or as specified with `-config-file`), applies alterations from other command line arguments (such as the node's address, etc.), and overwrites the updated configuration file.
  • config init [-o --output <path>]
    Create a config file based on the current CLI values. If the `-file` option is not passed, this will initialize the default config file, based on default parameters, altered by other command line options (such as the node's address, etc.). Otherwise, it will create a new config file, based on the default parameters (or the the ones specified with `-config-file`), altered by other command line options. The command will always fail if the file already exists. -o --output <path>: path at which to create the file Defaults to `$HOME/.tezos-client/config`.

Miscellaneous commands

  • list understood protocols
    List the protocol versions that this client understands.