org.ergoplatform.appkit.ReducedTransaction Maven / Gradle / Ivy
package org.ergoplatform.appkit;
import org.ergoplatform.sdk.ReducedErgoLikeTransaction;
/**
* Contains unsigned transaction augmented with one `ReductionResult` for each
* `UnsignedInput`.
* Can be obtained by reducing an unsigned transaction.
*/
public interface ReducedTransaction extends Transaction {
/**
* Returns the underlying reduced transaction data.
*/
ReducedErgoLikeTransaction getTx();
/**
* Returns the cost accumulated while reducing the original unsigned
* transaction.
*/
int getCost();
/**
* Returns the serialized bytes of this transaction.
*/
byte[] toBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy