Function unpackTx

  • Unpack transaction hash

    Returns

    object

    Returns

    object.tx Object with transaction param's

    Returns

    object.txType Transaction type

    Type Parameters

    • TxType extends Tag

    Parameters

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

      Transaction to unpack

    • Optional txType: TxType

      Expected transaction type

    Returns TxUnpacked<TxTypeSchemas[TxType]>

Generated using TypeDoc