Skip to content

bx script decode

Eric Voskuil edited this page May 8, 2015 · 13 revisions

Decode a script to plain text tokens.

$ bx script-decode --help
Usage: bx script-decode [-h] [--config VALUE] [BASE16]                   

Info: Decode a script to plain text tokens.                              

Options (named):

-c [--config]        The path to the configuration settings file.        
-h [--help]          Get a description and instructions for this command.

Arguments (positional):

BASE16               The Base16 script. If not specified the script is   
                     read from STDIN.

This command is helpful in interpreting scripts as they appear in the wire protocol.

See also script-encode.

Example 1

Bitcoin Wiki example

$ bx script-decode 76A91489ABCDEFABBAABBAABBAABBAABBAABBAABBAABBA88AC
dup hash160 [ 89abcdefabbaabbaabbaabbaabbaabbaabbaabba ] equalverify checksig

BX Menu

Clone this wiki locally