Converts a Bitcoin address to its corresponding output script.
The Bitcoin address to convert.
Optional
The Bitcoin network to use. Defaults to the Bitcoin network.
The corresponding output script as a Buffer.
If the address has an invalid prefix or no matching script.
Converts a Bitcoin address to its corresponding output script.