The token-send
command in Mintlayer enables the sending of a specified amount of a particular token to a given address. This command is designed for simplicity, as the wallet automatically calculates the necessary transaction details.
token-send <TOKEN_ID> <ADDRESS> <AMOUNT>
<TOKEN_ID>
: The identifier of the token to be sent.<ADDRESS>
: The destination address that will receive the tokens.<AMOUNT>
: The amount of tokens to be sent.-h, --help
: Displays help information about the token-send
command.Sending Tokens to an Address:
To send 1000 tokens of the token with ID tmltk1v6p95hcdft3fmg93kcp6k8r63mt769wh8huf3cmke2dvevyukckq0wcaqt
to the address tmt1q93cmj7jlza64ry3ckp5hyrtlcrnxlqm9sg6lvd2
, the command would be:
token-send tmltk1v6p95hcdft3fmg93kcp6k8r63mt769wh8huf3cmke2dvevyukckq0wcaqt tmt1q93cmj7jlza64ry3ckp5hyrtlcrnxlqm9sg6lvd2 1000
Executing this command will initiate the transfer of 1000 tokens to the specified address.