TransactionEffects
type TransactionEffects
The output or effects of executing a transaction
BCS
The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-types/bcs-schema.abnf\).
type TransactionEffects struct {
// contains filtered or unexported fields
}
func LiftFromExternalTransactionEffects
func LiftFromExternalTransactionEffects(handle uint64) *TransactionEffects
func TransactionEffectsFromBcs
func TransactionEffectsFromBcs(bcs []byte) (*TransactionEffects, error)
Create this type from BCS encoded bytes.
func TransactionEffectsFromJson
func TransactionEffectsFromJson(json string) (*TransactionEffects, error)
Create this type from a JSON encoded string.
func TransactionEffectsNewV1
func TransactionEffectsNewV1(effects *TransactionEffectsV1) *TransactionEffects
func (*TransactionEffects) AsV1
func (_self *TransactionEffects) AsV1() *TransactionEffectsV1
The V1 effects, which is where the object sets and other views derived from them are reported. Panics for any other version; a caller that does not want to assume one should check `is_v1` first.
func (*TransactionEffects) DebugString
func (_self *TransactionEffects) DebugString() string
func (*TransactionEffects) Destroy
func (object *TransactionEffects) Destroy()
func (*TransactionEffects) Digest
func (_self *TransactionEffects) Digest() *TransactionEffectsDigest
func (*TransactionEffects) Eq
func (_self *TransactionEffects) Eq(other *TransactionEffects) bool
func (*TransactionEffects) IsV1
func (_self *TransactionEffects) IsV1() bool
func (*TransactionEffects) Ne
func (_self *TransactionEffects) Ne(other *TransactionEffects) bool
func (*TransactionEffects) ToBcs
func (_self *TransactionEffects) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*TransactionEffects) ToDisplayString
func (_self *TransactionEffects) 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 (*TransactionEffects) ToJson
func (_self *TransactionEffects) ToJson() (string, error)
Convert this type to a JSON encoded string.