#[repr(u8)]pub enum TxType {
Show 23 variants
Transfer = 0,
Nft = 1,
Token = 2,
ContractDeploy = 3,
ContractCall = 4,
Staking = 5,
Messaging = 6,
DocClass = 7,
Tax = 8,
Equity = 9,
Agreement = 10,
Legal = 11,
Property = 12,
Healthcare = 13,
Employment = 14,
Finance = 15,
PolicyAccount = 16,
NodeRegistry = 17,
StorageMetadata = 18,
NodeRegistryV2 = 19,
StorageMetadataV2 = 20,
InferenceAttestation = 21,
Education = 22,
}Expand description
Transaction type identifier
Variants§
Transfer = 0
Native token transfer
Nft = 1
NFT operation (SUM-721)
Token = 2
Token operation (SRC-20)
ContractDeploy = 3
Smart contract deployment
ContractCall = 4
Smart contract call
Staking = 5
Staking operation
Messaging = 6
Messaging operation (SRC-201)
DocClass = 7
DocClass operation (SRC-80X/81X)
Tax = 8
Tax & Compliance operation (SRC-82X)
Equity = 9
Business, Governance & Equity operation (SRC-83X)
Agreement = 10
Agreement & IP operation (SRC-84X)
Legal = 11
Legal Process operation (SRC-85X)
Property = 12
Property & Insurance operation (SRC-86X)
Healthcare = 13
Healthcare & Membership operation (SRC-87X)
Employment = 14
Employment & HR operation (SRC-88X)
Finance = 15
Finance & Banking operation (SRC-89X)
PolicyAccount = 16
Policy Account operation (Group governance)
NodeRegistry = 17
Node Registry operation (register/manage network nodes)
StorageMetadata = 18
Storage Metadata operation (file registration, ACL, fee pool)
NodeRegistryV2 = 19
V2 Node Registry operation (e.g. encryption-key registration — SNIP V2 Ask 3)
StorageMetadataV2 = 20
V2 Storage Metadata operation (Pending lifecycle, bundle storage, abandonment — SNIP V2 Phase 1)
InferenceAttestation = 21
OmniNode inference attestation (Stage 6 handoff) — variant index frozen at 21, append-only; see crates/primitives/src/inference_attestation.rs for wire shape.
Education = 22
SRC-817/818 Education-LMS suite — variant index frozen at 22, append-only; see crates/primitives/src/education.rs for wire shape.