• Alias for transaction.serialize()

    Serializes a transaction to a hex string.

    Parameters

    Returns string

    Example

    import { makeSTXTokenTransfer, transactionToHex } from '@stacks/transactions';

    const transaction = makeSTXTokenTransfer({ ... });
    const hex = transactionToHex(transaction);

Generated using TypeDoc