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 Object → ValueType → Enum → IntentScope
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| TransactionData | 0 | Used for a user signature on a transaction data. |
| TransactionEffects | 1 | Used for an authority signature on transaction effects. |
| CheckpointSummary | 2 | Used for an authority signature on a checkpoint summary. |
| PersonalMessage | 3 | Used for a user signature on a personal message. |
| SenderSignedTransaction | 4 | Used for an authority signature on a user signed transaction. |
| ProofOfPossession | 5 | Used as a signature representing an authority's proof of possession of its authority key. |
| BridgeEventDeprecated | 6 | Deprecated. Should not be reused. Introduced for bridge purposes but was never included in messages. |
| ConsensusBlock | 7 | Used for consensus authority signature on block's digest. |
| DiscoveryPeers | 8 | Used for reporting peer addresses in discovery |
| AuthorityCapabilities | 9 | Used for authority capabilities from non-committee authorities. |