Skip to main content

nil wallet send-message

Description

Send a message to the smart contract with the specified bytecode or command via the wallet

Usage

nil wallet send-message [address] [bytecode or method] [args...] [flags]

Regular Flags

NameTypeDescription
--abistringThe path to the ABI file
--amountvalueThe amount of default tokens to send
--fee-creditvalueThe fee credit for message processing (default 0)
-h, --helpbooleanhelp for send-message
--no-waitbooleanDefine whether the command should wait for the receipt
--tokenstringarrayThe custom currencies to transfer in as a map 'currencyId=amount', can be set multiple times

Global Flags

NameTypeDescription
-c, --configstringThe path to the config file (default "/build/.config/nil/config.ini")
-l, --log-levelstringLog level: trace
-q, --quietbooleanQuiet mode (print only the result and exit)
-v, --verbosebooleanVerbose mode (print logs)