submitTxConstraintsWith :: ScriptLookups a -> TxConstraints (RedeemerType a) (DatumType a) -> Contract w s e Tx
How does submitTxConstraintsWith
make usage of the ScriptLookups?
I always see it used like this: ledgerTx <- submitTxConstraints (swapInst oracle) tx
I am wondering why the ScriptLookups
?