View Source BitcoinLib.Script.Analyzer (BitcoinLib v0.2.0-pre3)

Based on that table https://i.stack.imgur.com/iXfVX.png

useful links:

Link to this section Summary

Functions

Identify a script in either binary or opcode list forms

Link to this section Functions

@spec identify(binary() | list()) :: atom()

Identify a script in either binary or opcode list forms

examples

Examples

iex> <<0x4104678AFDB0FE5548271967F1A67130B7105CD6A828E03909A67962E0EA1F61DEB649F6BC3F4CEF38C4F35504E51EC112DE5C384DF7BA0B8D578A4C702B6BF11D5FAC::536>> ...> |> BitcoinLib.Script.Analyzer.identify() :p2pk