Skip to main content

IntentScope

Namespace: IotaSdk

Byte signifying the scope of an Intent

This enum specifies the intent scope. Two intents for different scopes should never collide, so no signature provided for one intent scope can be used for another, even when the serialized data itself may be the same.

BCS

The BCS serialized form for this type is defined by the following ABNF:

intent-scope = u8
public enum IntentScope

Inheritance ObjectValueTypeEnumIntentScope
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

NameValueDescription
TransactionData0Used for a user signature on a transaction data.
TransactionEffects1Used for an authority signature on transaction effects.
CheckpointSummary2Used for an authority signature on a checkpoint summary.
PersonalMessage3Used for a user signature on a personal message.
SenderSignedTransaction4Used for an authority signature on a user signed transaction.
ProofOfPossession5Used as a signature representing an authority's proof of possession of its authority key.
BridgeEventDeprecated6Deprecated. Should not be reused. Introduced for bridge purposes but was never included in messages.
ConsensusBlock7Used for consensus authority signature on block's digest.
DiscoveryPeers8Used for reporting peer addresses in discovery
AuthorityCapabilities9Used for authority capabilities from non-committee authorities.