On https://developer.algorand.org/docs/goal-clerk the -c
flag is not mentioned but it is on https://developer.algorand.org/docs/getting-started
1 Like
Thanks for pointing this out. We will make the change.
The changes are made if you want to take a look now. Again thanks for pointing this out.
Wow, that’s actually a nifty little feature. First time I’ve seen it as well.
For reference:
-c, --close-to string Close account and send remainder to this address
So:
./goal clerk send -a <amount> -f <from address> -t <to address> -c <send remainder in from address after amount is sent and close that from address>
Useful for sweeping balances into a different address.