Sending consecutive transactions will result in an error.
Using the simple-transaction example below, a transaction is created in Cardano-Serialization-Lib and sent to the blockchain using BrokFrost.
https://github.com/blockfrost/blockfrost-js/tree/master/examples/simple-transaction
At this time, after one transaction is sent. If I create and send transactions consecutively without waiting for a time, I may get the following error and not be able to send.
Transaction db6388f73ed195c30ea264dc968ea364d16fa7a097ddae0236d9fbf1fa150df8 rejected"transaction submit error ShelleyTxValidationError ShelleyBasedEraBabbage (ApplyTxError [UtxowFailure (UtxoFailure (FromAlonzoUtxoFail (ValueNotConservedUTxO (Value 0 (fromList [])) (Value 206069713 (fromList []))))),UtxowFailure (UtxoFailure (FromAlonzoUtxoFail (BadInputsUTxO (fromList [TxIn (TxId {_unTxId = SafeHash \"607d1531d04bb56da9a6145c784ae2c1b59980ca3703b78777404516d41e93b5\"}) (TxIx 1)]))))])"
I believe this is due to trying to use the UTxO not being updatedsame Input for the first transaction and the second transaction , is there any way to resolve this?
Also, in this example, what condition is specified in the UTxO of the transaction's Input?
What I would like to achieve
- We want to create and send a transaction without time after sending once. Example Send 100 transactions per minute from one address.
What we want to know
- If there is another way to specify the UTxO of Input, is it possible to create and send transactions continuously by changing it?