Skip to main content

nil wallet call-readonly

Description

Perform a read-only call to the smart contract with the given address and calldata

Usage

nil wallet call-readonly [address] [calldata or method] [args...] [flags]

Regular Flags

NameTypeDescription
--abistringThe path to the ABI file
--fee-creditvalueThe fee credit for the read-only call (default 1000000)
-h, --helpbooleanhelp for call-readonly
--in-overridesstringThe input state overrides
--out-overridesstringThe output state overrides
--with-detailsbooleanDefine whether to show the tokens used and outbound messages

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)