Build a Complex Transaction
The Flow CLI provides a command to decode a transaction from RLP in a file. It uses same transaction format as get command
_10flow transactions decode <file>
Example Usage​
_19> flow transactions decode ./rlp-file.rlp _19_19ID c1a52308fb906358d4a33c1f1d5fc458d3cfea0d570a51a9dea915b90d678346_19Payer 83de1a7075f190a1_19Authorizers [83de1a7075f190a1]_19_19Proposal Key: _19 Address 83de1a7075f190a1_19 Index 1_19 Sequence 1_19_19No Payload Signatures_19_19Envelope Signature 0: 83de1a7075f190a1_19Signatures (minimized, use --include signatures)_19_19Code (hidden, use --include code)_19_19Payload (hidden, use --include payload)
Arguments​
Filename​
- Name:
<file_name>
- Valid Input: file name.
The first argument is the filename containing the transaction RLP.
Flags​
Include Fields​
- Flag:
--include
- Valid inputs:
code
,payload
,signatures
Specify fields to include in the result output. Applies only to the text output.
Output​
- Flag:
--output
- Short Flag:
-o
- Valid inputs:
json
,inline
Specify the format of the command results.
Save​
- Flag:
--save
- Short Flag:
-s
- Valid inputs: a path in the current filesystem.
Specify the filename where you want the result to be saved
Version Check​
- Flag:
--skip-version-check
- Default:
false
Skip version check during start up to speed up process for slow connections.