Input /{{self.path.0}}/{{self.path.1}}/{{self.path.2}}
%% if !self.input.previous_output.is_null() {
- previous output
- {{self.input.previous_output}}
%% }
%% if self.input.sequence != Sequence::MAX {
- sequence
- {{self.input.sequence}}
%% }
%% if !self.input.witness.is_empty() {
- witness
- {{hex::encode(consensus::serialize(&self.input.witness))}}
%% }
%% if !self.input.script_sig.is_empty() {
- script sig
- {{self.input.script_sig.to_asm_string()}}
- text
- {{String::from_utf8_lossy(self.input.script_sig.as_bytes())}}
%% }