Skip to main content

SignedCheckpointSummary

type SignedCheckpointSummary​

A [`CheckpointSummary`] together with an aggregated signature certifying it under its epoch's validator committee.

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

func LiftFromExternalSignedCheckpointSummary​

func LiftFromExternalSignedCheckpointSummary(handle uint64) *SignedCheckpointSummary

func NewSignedCheckpointSummary​

func NewSignedCheckpointSummary(checkpoint *CheckpointSummary, signature *ValidatorAggregatedSignature) *SignedCheckpointSummary

func SignedCheckpointSummaryFromBcs​

func SignedCheckpointSummaryFromBcs(bcs []byte) (*SignedCheckpointSummary, error)

Create this type from BCS encoded bytes.

func SignedCheckpointSummaryFromJson​

func SignedCheckpointSummaryFromJson(json string) (*SignedCheckpointSummary, error)

Create this type from a JSON encoded string.

func (*SignedCheckpointSummary) Checkpoint​

func (_self *SignedCheckpointSummary) Checkpoint() *CheckpointSummary

func (*SignedCheckpointSummary) Destroy​

func (object *SignedCheckpointSummary) Destroy()

func (*SignedCheckpointSummary) Signature​

func (_self *SignedCheckpointSummary) Signature() *ValidatorAggregatedSignature

func (*SignedCheckpointSummary) ToBcs​

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

Convert this type to BCS encoded bytes.

func (*SignedCheckpointSummary) ToDisplayString​

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

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

Convert this type to a JSON encoded string.