goal clerk

goal clerk

Provides tools for signing and sending transactions.

Synopsis

Collection of commands to support the management of transaction information.

goal clerk [flags]

Options

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

Options inherited from parent commands

  -d, --datadir stringArray   Data directory for the node
  -k, --kmddir string         Data directory for kmd

Commands

goal clerk inspect

Print a transaction file

Synopsis

Print a transaction file.

goal clerk inspect [flags]

Options

  -h, --help   help for inspect

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

goal clerk multisig

Provides tools working with multisig transactions

Synopsis

Create, examine, and add signatures to multisig transactions.

goal clerk multisig [flags]

Options

  -h, --help   help for multisig

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

goal clerk multisig merge

Combine multiple partially-signed multisig transactions, and write out transactions with a single merged multisig signature.

Synopsis

Combine multiple partially-signed multisig transactions, and write out transactions with a single merged multisig signature.

goal clerk multisig merge -o MERGEDTXFILE TXFILE1 TXFILE2 ... [flags]

Options

  -h, --help         help for merge
  -o, --out string   Output file for merged transactions

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

goal clerk multisig sign

Add a signature to a multisig transaction.

Synopsis

Start a multisig, or add a signature to an existing multisig, for a given transaction.

goal clerk multisig sign [flags]

Options

  -a, --addr string   Address of the key to sign with
  -h, --help          help for sign
  -t, --tx string     Partially-signed transaction file to add signature to

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

goal clerk rawsend

Send raw transactions

Synopsis

Send raw transactions. The transactions must be stored in a file, encoded using msgpack as transactions.SignedTxn. Multiple transactions can be concatenated together in a file.

goal clerk rawsend [flags]

Options

  -f, --filename string   Filename of file containing raw transactions
  -h, --help              help for rawsend
  -N, --no-wait           Don't wait for transactions to commit
  -r, --rejects string    Filename for writing rejects to (default is txFilename.rej)

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

goal clerk send

Send money to an address

Synopsis

Send money from one account to another. Note: by default, the money will be withdrawn from the default account. Creates a transaction sending amount tokens from from address to to address. If the optional --fee is not provided, the transaction will use the recommended amount. If the optional --firstvalid and --lastvalid are provided, the transaction will only be valid from round firstvalid to round lastvalid. If broadcast of the transaction is successful, the transaction ID will be returned.

Accounts currently require a minimum balance of 0.1 Algos (100000 microalgos). In the future, this minimum may increase and accounts with balances lower than the minimum may be closed automatically. If you spend under your minimum you are required to specify a close account to send the remainder of the tokens to. If you are using goal clerk send, you can do this with the -c option. If you do not specify this option then the transaction will be rejected.

goal clerk send [flags]

Options

  -a, --amount uint       The amount to be transferred (required), in microAlgos
  -c, --close-to string   Close account and send remainder to this address
      --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 (currently ignored)
  -f, --from string       Account address to send the money from (If not specified, uses default account)
  -h, --help              help for send
      --lastvalid uint    The last round where the transaction may be committed to the ledger (currently ignored)
  -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        Dump an unsigned tx to the given file. In order to dump a signed transaction, pass -s
  -s, --sign              Use with -o to indicate that the dumped transaction should be signed
  -t, --to string         Address to send to money to (required))

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 operationn

goal clerk sign

Sign a transaction file

Synopsis

Sign the passed transaction file, which may contain one or more transactions. If the infile and the outfile are the same, this overwrites the file with the new, signed data.

goal clerk sign [flags]

Options

  -h, --help             help for sign
  -i, --infile string    Partially-signed transaction file to add signature to
  -o, --outfile string   Filename for writing the signed transaction

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 operationn