@Test public void createFromValidHash() { ScriptHash sh = new ScriptHash("0x23ba2703c53263e8d6e522dc32203339dcd8eee9"); assertThat(sh.toString(), is("23ba2703c53263e8d6e522dc32203339dcd8eee9")); sh = new ScriptHash("23ba2703c53263e8d6e522dc32203339dcd8eee9"); assertThat(sh.toString(), is("23ba2703c53263e8d6e522dc32203339dcd8eee9")); }
public String toString() { return Numeric.toHexStringNoPrefix(ArrayUtils.reverseArray(scriptHash)); }
ScriptHash extends NeoSerializable implements Comparable<ScriptHash> { public String toString() { return Numeric.toHexStringNoPrefix(ArrayUtils.reverseArray(scriptHash)); } }
ScriptHash extends NeoSerializable implements Comparable<ScriptHash> { public String toString() { return Numeric.toHexStringNoPrefix(ArrayUtils.reverseArray(scriptHash)); } ScriptHash();  ScriptHash(byte[] scriptHash);  ScriptHash(String scriptHash); }
ScriptHash extends NeoSerializable implements Comparable<ScriptHash> { public String toString() { return Numeric.toHexStringNoPrefix(ArrayUtils.reverseArray(scriptHash)); } ScriptHash();  ScriptHash(byte[] scriptHash);  ScriptHash(String scriptHash); @Override void deserialize(BinaryReader reader); @Override void serialize(BinaryWriter writer); @Override int getSize(); @Override byte[] toArray(); String toString(); String toAddress(); static ScriptHash fromAddress(String address); static ScriptHash fromScript(byte[] script); static ScriptHash fromPublicKey(byte[] encodedPublicKey); static ScriptHash fromPublicKeys(List<byte[]> encodedPublicKeys, int signingThreshold); static ScriptHash fromScript(String script); @Override int compareTo(ScriptHash o); @Override boolean equals(Object o); @Override int hashCode(); }
ScriptHash extends NeoSerializable implements Comparable<ScriptHash> { public String toString() { return Numeric.toHexStringNoPrefix(ArrayUtils.reverseArray(scriptHash)); } ScriptHash();  ScriptHash(byte[] scriptHash);  ScriptHash(String scriptHash); @Override void deserialize(BinaryReader reader); @Override void serialize(BinaryWriter writer); @Override int getSize(); @Override byte[] toArray(); String toString(); String toAddress(); static ScriptHash fromAddress(String address); static ScriptHash fromScript(byte[] script); static ScriptHash fromPublicKey(byte[] encodedPublicKey); static ScriptHash fromPublicKeys(List<byte[]> encodedPublicKeys, int signingThreshold); static ScriptHash fromScript(String script); @Override int compareTo(ScriptHash o); @Override boolean equals(Object o); @Override int hashCode();  }