tx
Tx module allows you to sign or broadcast transactions
Available Commands
uptickd tx sign
Sign transactions in generated offline file. The file created with the --generate-only flag.
Flags
Generate an offline tx
TIP
You can generate any type of txs offline by appending the flag
--generate-only
We use a transfer tx in the following examples:
Sign tx offline
uptickd tx broadcast
This command is used to broadcast an offline signed transaction to the network.Broadcast offline signed transaction
uptickd tx multisign
Sign a transaction by multiple accounts. The tx could be broadcasted only when the number of signatures meets the multisig-threshold.
Sign the multisig txQuery the multisig address
Sign the unsigned.json
Assume the multisig-threshold is 2, here we sign the unsigned.json
by 2 of the signersSign the tx by signer-1:
Sign the tx by signer-2:
Merge the signaturesMerge all the signatures into signed.json
Now you can broadcast the signed tx.
uptickd query tx
uptickd query txs
Last updated