---
title: HistoryToken
framework: swiftdata
role: symbol
role_heading: Protocol
path: swiftdata/historytoken
---

# HistoryToken

## Declaration

```swift
protocol HistoryToken : Comparable, Decodable, Encodable, Hashable, Identifiable, Sendable
```

## Topics

### Associated Types

- [TokenType](swiftdata/historytoken/tokentype.md)

### Instance Properties

- [tokenValue](swiftdata/historytoken/tokenvalue.md)

## Relationships

### Inherits From

- [Comparable](swift/comparable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Identifiable](swift/identifiable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

### Conforming Types

- [DefaultHistoryToken](swiftdata/defaulthistorytoken.md)

## See Also

### History life cycle

- [HistoryChange](swiftdata/historychange.md)
- [HistoryDelete](swiftdata/historydelete.md)
- [HistoryInsert](swiftdata/historyinsert.md)
- [HistoryTransaction](swiftdata/historytransaction.md)
- [HistoryUpdate](swiftdata/historyupdate.md)
- [HistoryTombstone](swiftdata/historytombstone.md)
- [DefaultHistoryInsert](swiftdata/defaulthistoryinsert.md)
- [DefaultHistoryUpdate](swiftdata/defaulthistoryupdate.md)
- [DefaultHistoryDelete](swiftdata/defaulthistorydelete.md)
- [DefaultHistoryToken](swiftdata/defaulthistorytoken.md)
- [DefaultHistoryTransaction](swiftdata/defaulthistorytransaction.md)
