Skip to main content

nil smart-account send-transaction

Description

Send a transaction to the smart contract with the specified bytecode or command via the smart account

Usage

nil smart-account send-transaction [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 transaction processing (default 0)
-h, --helpbooleanhelp for send-transaction
--no-waitbooleanDefine whether the command should wait for the receipt
--priority-feestringThe priority fee for the message (default "0")
--tokenstringarrayThe custom tokens to transfer in as a map 'tokenId=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)