Function serializeTransaction

  • Alias for transaction.serialize()

    Serializes a transaction to a hex string.

    Parameters

    Returns Hex

    Example

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

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

Generated using TypeDoc