Private constructorConstructs a new TransactionHash instance, which can hold either a Deploy hash or a TransactionV1 hash.
Optional deployThe hash associated with the deploy transaction, if applicable.
This will contain the hash of the Deploy transaction.
Optional transactionThe hash associated with the version 1 transaction, if applicable.
This will contain the hash of the TransactionV1.
Static ByteThe fixed length of the hash in bytes.
Static StringThe fixed length of the hash string representation in hexadecimal characters.
Static createCreates an array of Hash instances from a byte array.
An array of Hash instances created from the byte array.
Error if the byte array length is not a multiple of the hash length.
The byte array containing multiple hash values.
Static fromStatic fromCreates a Hash instance from a byte array.
A result object containing the new Hash instance and the remaining bytes.
Error if the byte array length does not match the expected hash length.
The byte array representing the hash.
Static fromCreates a TransactionHash from a Deploy hash.
A new TransactionHash instance with the deploy hash.
The Deploy hash instance.
Static fromStatic fromJSONStatic fromCreates a TransactionHash from a TransactionV1 hash.
A new TransactionHash instance with the transactionV1 hash.
The TransactionV1 hash instance.
Generated using TypeDoc
Represents a transaction hash, which can either be associated with a
Deployor aTransactionV1.