Function unpackTx

  • Unpack transaction encoded as string

    Type Parameters

    • TxType extends Tag

    Parameters

    • encodedTx: `tx_${string}` | `pi_${string}` | `ss_${string}` | `cs_${string}`

      Transaction to unpack

    • Optional txType: TxType

      Expected transaction type

    Returns TxUnpacked & {
        tag: TxType;
    }

    Object with transaction param's

Generated using TypeDoc