• Unpack transaction encoded as string

    Type Parameters

    • TxType extends Tag

    Parameters

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

      Encoded transaction

    • OptionaltxType: TxType

      Expected transaction type

    Returns TxUnpacked & {
        tag: TxType;
    }

    Transaction params