You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
Copy file name to clipboardexpand all lines: content/chifra/chainstate.md
+7-5
Original file line number
Diff line number
Diff line change
@@ -55,10 +55,10 @@ Flags:
55
55
One or more of [ balance | nonce | code | proxy | deployed | accttype | some | all ]
56
56
-c, --changes only report a balance when it changes from one block to the next
57
57
-z, --no_zero suppress the display of zero balance accounts
58
-
-l, --call stringwrite-only call to a smart contract with one or more solidity calls, four-byte plus parameters, or encoded call data strings
59
-
-s, --send string send a transaction to a smart contract using a solidity function, a four-byte plus parameters, or an encoded call data string
60
-
-a, --articulate for the --call option only, articulate the retrieved data if ABIs can be found
61
-
-r, --proxy_for string for the --call option only, redirects calls to this implementation
58
+
-l, --call write-only call (a query) to a smart contract
59
+
-d, --calldata string for commands (--call or --send), provides the call data (in various forms) for the command (may be empty for --send)
60
+
-a, --articulate for commands only, articulate the retrieved data if ABIs can be found
61
+
-r, --proxy_for string for commands only, redirects calls to this implementation
62
62
-H, --ether specify value in ether
63
63
-o, --cache force the results of the query into the cache
64
64
-D, --decache removes related items from the cache
@@ -72,11 +72,13 @@ Notes:
72
72
- If the queried node does not store historical state, the results are undefined.
73
73
- Special blocks are detailed under chifra when --list.
74
74
- Balance is the default mode. To select a single mode use none first, followed by that mode.
75
-
- Valid parameters for --call include Solidity-like syntax: balanceOf(0x316b...183d), a four-byte followed by parameters: 0x70a08231(0x316b...183d), or encoded input data.
75
+
- Valid parameters for --calldata include Solidity-like syntax: balanceOf(0x316b...), a four-byte followed by parameters: 0x70a08231(0x316b...), or encoded input data.
76
76
- You may specify multiple parts on a single line.
77
77
- In the --call string, you may separate multiple calls with a colon.
78
78
- Your use of the unaudited --send option legally absolves, in any jurisdiction, TrueBlocks, LLC or any associated parties from liability or loss related to such use.
79
79
- The --send option does not validate its input before sending your transaction to the network. If you provide invalid data, you may lose your funds. Be warned.
80
+
- As of version 4.0.0, use --call --calldata <cmd> to provide your command.
81
+
- --calldata may be one or more solidity calls, four-byte plus parameters, or encoded call data strings.
0 commit comments