TransactionDigest
type TransactionDigest
The digest of a `Transaction`.
type TransactionDigest struct {
// contains filtered or unexported fields
}
func LiftFromExternalTransactionDigest
func LiftFromExternalTransactionDigest(handle uint64) *TransactionDigest
func TransactionDigestFromBase58
func TransactionDigestFromBase58(base58 string) (*TransactionDigest, error)
func TransactionDigestFromBcs
func TransactionDigestFromBcs(bcs []byte) (*TransactionDigest, error)
Create this type from BCS encoded bytes.
func TransactionDigestFromBytes
func TransactionDigestFromBytes(bytes []byte) (*TransactionDigest, error)
func TransactionDigestFromJson
func TransactionDigestFromJson(json string) (*TransactionDigest, error)
Create this type from a JSON encoded string.
func TransactionDigestGenesisMarker
func TransactionDigestGenesisMarker() *TransactionDigest
The digest used to signify the parent transaction was the genesis.
func TransactionDigestRandom
func TransactionDigestRandom() *TransactionDigest
func (*TransactionDigest) DebugString
func (_self *TransactionDigest) DebugString() string
func (*TransactionDigest) Destroy
func (object *TransactionDigest) Destroy()
func (*TransactionDigest) Eq
func (_self *TransactionDigest) Eq(other *TransactionDigest) bool
func (*TransactionDigest) Hash
func (_self *TransactionDigest) Hash() uint64
func (*TransactionDigest) Ne
func (_self *TransactionDigest) Ne(other *TransactionDigest) bool
func (*TransactionDigest) NextLexicographical
func (_self *TransactionDigest) NextLexicographical() *TransactionDigest
Returns the next digest in byte-increasing order.
func (*TransactionDigest) NextLexicographicalOpt
func (_self *TransactionDigest) NextLexicographicalOpt() **TransactionDigest
Returns the next digest in byte-increasing order, or `None` if the result would overflow.
func (*TransactionDigest) String
func (_self *TransactionDigest) String() string
func (*TransactionDigest) ToBase58
func (_self *TransactionDigest) ToBase58() string
func (*TransactionDigest) ToBcs
func (_self *TransactionDigest) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*TransactionDigest) ToBytes
func (_self *TransactionDigest) ToBytes() []byte
func (*TransactionDigest) ToDisplayString
func (_self *TransactionDigest) ToDisplayString() string
Render this type as human-readable text.
Some types also print this through the binding's native string conversion; this method is the spelling every object type has.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
func (*TransactionDigest) ToJson
func (_self *TransactionDigest) ToJson() (string, error)
Convert this type to a JSON encoded string.