Skip to content

Create Publication

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

goal asset freeze


goal asset freeze

Freeze assets

Synopsis

Freeze or unfreeze assets for a target account. The transaction must be issued by the freeze address for the asset in question.

goal asset freeze [flags]

Options

      --account string              Account address to freeze/unfreeze

      --asset string                Unit name of the asset being frozen

      --assetid uint                ID of the asset being frozen

      --creator string              Account address for asset creator

      --dryrun-dump                 Dump in dryrun format acceptable by dryrun REST api

      --dryrun-dump-format string   Dryrun dump format: json, msgp (default "json")

      --fee uint                    The transaction fee (automatically determined by default), in microAlgos

      --firstvalid uint             The first round where the transaction may be committed to the ledger

      --freeze                      Freeze or unfreeze

      --freezer string              Address to issue a freeze transaction from

  -h, --help                        help for freeze

      --lastvalid uint              The last round where the transaction may be committed to the ledger

  -x, --lease string                Lease value (base64, optional): no transaction may also acquire this lease until lastvalid

  -N, --no-wait                     Don't wait for transaction to commit

  -n, --note string                 Note text (ignored if --noteb64 used also)

      --noteb64 string              Note (URL-base64 encoded)

  -o, --out string                  Write transaction to this file

  -s, --sign                        Use with -o to indicate that the dumped transaction should be signed

      --validrounds uint            The number of rounds for which the transaction will be valid

Options inherited from parent commands

  -d, --datadir stringArray   Data directory for the node

  -k, --kmddir string         Data directory for kmd

  -w, --wallet string         Set the wallet to be used for the selected operation

SEE ALSO