The address-show
command in Mintlayer is used to display a list of receive-addresses along with their usage state. It's important to note that the usage state of an address is determined based on the blockchain, not the wallet. Therefore, an address will be marked as used only if it is involved in a transaction that has been included in a block.
Note: Attempting to create more than 20 unused sequential addresses will result in an error.
address-show
-h, --help
: Displays help information about the address-show
command.Displaying Receive-Addresses and Their Usage State:
Running the command:
address-show
will display a table of addresses and their usage status, similar to the following:
+-------+----------------------------------------------+--------------------------------+
| Index | Address | Is used in transaction history |
+=======+==============================================+================================+
| 0 | tmt1qx8lr7fp7mehn6vgt5vuqytpy5c97fds6u89xhe5 | Yes |
+-------+----------------------------------------------+--------------------------------+
| 1 | tmt1qxf395dtedem6j83ph46ljju2ktkd52fjcwppvr5 | No |
+-------+----------------------------------------------+--------------------------------+
This table shows the index, address, and whether each address has been used in a transaction history.