Skip to content

Consensus Encoding API Reference

scriptnum()

scriptnum(Int) -> Bytes

This is the default used for Int encoding via bytes().

compactsize()

compactsize(Int) -> Bytes