Function toOutputScript

  • encodes address to output script with network, return output script if address matched

    Parameters

    • address: string
    • Optional network: Network

    Returns Buffer