Skip to main content

IntentVersion

IntentVersion Objects​

class IntentVersion(enum.Enum)

Byte signifying the version of an Intent

The version here is to distinguish between signing different versions of the struct or enum. Serialized output between two different versions of the same struct/enum might accidentally (or maliciously on purpose) match.

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

to_display_string​

def to_display_string() -> str

Render this type as human-readable text.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.