On this page
1 min read
How to decode a Flow transaction from the command line
The Flow CLI provides a command to decode a transaction from RLP in a file. It uses same transaction format as get command
1flow transactions decode <file>
1> flow transactions decode ./rlp-file.rlp23ID c1a52308fb906358d4a33c1f1d5fc458d3cfea0d570a51a9dea915b90d6783464Payer 83de1a7075f190a15Authorizers [83de1a7075f190a1]67Proposal Key:8Address 83de1a7075f190a19Index 110Sequence 11112No Payload Signatures1314Envelope Signature 0: 83de1a7075f190a115Signatures (minimized, use --include signatures)1617Code (hidden, use --include code)1819Payload (hidden, use --include payload)
- Name:
<file_name>
- Valid Input: file name.
The first argument is the filename containing the transaction RLP.
- Flag:
--include
- Valid inputs:
code
,payload
,signatures
Specify fields to include in the result output. Applies only to the text output.
- Flag:
--output
- Short Flag:
-o
- Valid inputs:
json
,inline
Specify the format of the command results.
- Flag:
--save
- Short Flag:
-s
- Valid inputs: a path in the current filesystem.
Specify the filename where you want the result to be saved
- Flag:
--skip-version-check
- Default:
false
Skip version check during start up to speed up process for slow connections.