Currently, the Tx API requires governance-related configurations, such as DRep registration deposit and Gov Action deposit, either through method parameters or constants.
We can introduce a new supplier interface to provide these configurations.
Alternatively, this information could be fetched from ProtocolParamSupplier. However, since ProtocolParamSupplier is injected through QuickTxBuilder and not Tx, we need to find a way to provide it during the creation of the Tx object.
Currently, the
Tx
API requires governance-related configurations, such as DRep registration deposit and Gov Action deposit, either through method parameters or constants.We can introduce a new supplier interface to provide these configurations.
Alternatively, this information could be fetched from
ProtocolParamSupplier
. However, sinceProtocolParamSupplier
is injected throughQuickTxBuilder
and notTx
, we need to find a way to provide it during the creation of theTx
object.