A cardano-api function with a signature similar to: castTxMode :: Mode mode era -> Tx era -> TxForMode mode.
Note that (similarly to #1853, #1859, #1861) the type of the first argument (the indexed GADT Mode) does not currently exist in cardano-api -- but exists in the generator.
This function is currently implemented in the generator as:
Internal
Describe the feature you'd like
A
cardano-api
function with a signature similar to:castTxMode :: Mode mode era -> Tx era -> TxForMode mode
.Note that (similarly to #1853, #1859, #1861) the type of the first argument (the indexed GADT
Mode
) does not currently exist incardano-api
-- but exists in the generator.This function is currently implemented in the generator as: