Skip to main content

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 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) ToBytes

func (_self *TransactionDigest) ToBytes() []byte