Function serializeTransactionBytes

  • Alias for transaction.serializeBytes()

    Serializes a transaction to bytes.

    Parameters

    Returns Uint8Array

    Example

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

    const transaction = makeSTXTokenTransfer({ ... });
    const bytes = serializeTransactionBytes(transaction);

Generated using TypeDoc