We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c60f9ec + f42b40b commit c9562acCopy full SHA for c9562ac
src/seth/README.md
@@ -293,6 +293,13 @@ governance token using the ERC20 ABI:
293
$ seth call $MKR_TOKEN "totalSupply()(uint)"
294
995238778286468792512963
295
296
+If you want to send a string as an argument, you must surround the string in both single and double quotes.
297
+ $ TOKEN=0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
298
+ $ seth call $TOKEN "getAddress(string)(address)" '"my_string"'
299
+ 0x7Bb0b08587b8a6B8945e09F1Baca426558B0f06a
300
+
301
302
303
If the ABI function has parameters, you can supply them as additional
304
arguments; for example, to check the balance of the MakerDAO fund:
305
0 commit comments