public class SetScriptTransaction extends TransactionWithProofs
Modifier and Type | Field and Description |
---|---|
static byte |
SET_SCRIPT |
MAX_PROOF_COUNT, proofs
V1, V2
Constructor and Description |
---|
SetScriptTransaction(PrivateKeyAccount senderPublicKey,
String script,
byte chainId,
long fee,
long timestamp) |
SetScriptTransaction(PublicKeyAccount senderPublicKey,
String script,
byte chainId,
long fee,
long timestamp,
List<ByteString> proofs) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte[] |
getBytes() |
byte |
getChainId() |
long |
getFee() |
String |
getScript() |
PublicKeyAccount |
getSenderPublicKey() |
long |
getTimestamp() |
byte |
getType() |
byte |
getVersion() |
int |
hashCode() |
getProofs, setProofs
getId
public static final byte SET_SCRIPT
public SetScriptTransaction(PublicKeyAccount senderPublicKey, String script, byte chainId, long fee, long timestamp, List<ByteString> proofs)
public SetScriptTransaction(PrivateKeyAccount senderPublicKey, String script, byte chainId, long fee, long timestamp)
public PublicKeyAccount getSenderPublicKey()
public String getScript()
public byte getChainId()
public long getFee()
public long getTimestamp()
public byte[] getBytes()
public byte getType()
public byte getVersion()
Copyright © 2019. All rights reserved.