• Borsh-encode a transaction or signed transaction into a serialized form.

    Parameters

    Returns Uint8Array

    A serialized representation of the input transaction.