![JAR search and dependency download from the Maven repository](/logo.png)
io.neow3j.transaction.ContractTransaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
neow3j: Java/Kotlin/Android Development Toolkit for the Neo Blockchain
package io.neow3j.transaction;
import io.neow3j.crypto.transaction.RawTransaction;
import io.neow3j.io.BinaryReader;
import io.neow3j.io.BinaryWriter;
import io.neow3j.model.types.TransactionType;
public class ContractTransaction extends RawTransaction {
public ContractTransaction() { }
protected ContractTransaction(Builder builder) {
super(builder);
}
@Override
public void serializeExclusive(BinaryWriter writer) {
// no type-specific serialization.
}
@Override
public void deserializeExclusive(BinaryReader reader) {
// no type-specific deserialization.
}
public static class Builder extends RawTransaction.Builder {
public Builder() {
super();
transactionType(TransactionType.CONTRACT_TRANSACTION);
}
@Override
public ContractTransaction build() {
return new ContractTransaction(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy