Skip to main content

CheckpointTransactionInfo

type CheckpointTransactionInfo​

Transaction information committed to in a checkpoint

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 CheckpointTransactionInfo struct {
// contains filtered or unexported fields
}

func CheckpointTransactionInfoFromBcs​

func CheckpointTransactionInfoFromBcs(bcs []byte) (*CheckpointTransactionInfo, error)

Create this type from BCS encoded bytes.

func CheckpointTransactionInfoFromJson​

func CheckpointTransactionInfoFromJson(json string) (*CheckpointTransactionInfo, error)

Create this type from a JSON encoded string.

func LiftFromExternalCheckpointTransactionInfo​

func LiftFromExternalCheckpointTransactionInfo(handle uint64) *CheckpointTransactionInfo

func NewCheckpointTransactionInfo​

func NewCheckpointTransactionInfo(transaction *TransactionDigest, effects *TransactionEffectsDigest, signatures []*UserSignature) *CheckpointTransactionInfo

func (*CheckpointTransactionInfo) Destroy​

func (object *CheckpointTransactionInfo) Destroy()

func (*CheckpointTransactionInfo) Effects​

func (_self *CheckpointTransactionInfo) Effects() *TransactionEffectsDigest

func (*CheckpointTransactionInfo) Signatures​

func (_self *CheckpointTransactionInfo) Signatures() []*UserSignature

func (*CheckpointTransactionInfo) ToBcs​

func (_self *CheckpointTransactionInfo) ToBcs() ([]byte, error)

Convert this type to BCS encoded bytes.

func (*CheckpointTransactionInfo) ToDisplayString​

func (_self *CheckpointTransactionInfo) 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 (*CheckpointTransactionInfo) ToJson​

func (_self *CheckpointTransactionInfo) ToJson() (string, error)

Convert this type to a JSON encoded string.

func (*CheckpointTransactionInfo) Transaction​

func (_self *CheckpointTransactionInfo) Transaction() *TransactionDigest