Offences pallet
Derived from live runtime metadata on TRN root (pallet index 10, captured 2026-05-02). For prose-style documentation see Offences on the curated reference side.
- Pallet index
10- Calls
- 0
- Events
- 1
- Errors
- 0
- Storage items
- 2
- Constants
- 0
Events
Offences.Offence
There is an offence reported of the given
kindhappened at thesession_indexand (kind-specific) time slot. This event is not deposited for duplicate slashes. [kind, timeslot].
| Field | Type | Doc |
|---|---|---|
kind | [u8;16] | |
timeslot | Bytes |
Storage
Offences.Reports
The primary structure that holds all offence records keyed by report identifiers.
ts
await api.query.offences.reports(key1)- Key:
H256(hasher: Twox64Concat) - Returns:
{"offender":"(SeedPrimitivesSignatureAccountId20,PalletStakingExposure)","reporters":"Vec<SeedPrimitivesSignatureAccountId20>"}
Modifier: Optional
Offences.ConcurrentReportsIndex
A vector of reports of the same kind that happened at the same time slot.
ts
await api.query.offences.concurrentReportsIndex(key1, key2)- Key:
([u8;16],Bytes)(hashers: Twox64Concat, Twox64Concat) - Returns:
Vec<H256>
Modifier: Default
Source: live chain metadata from
wss://root.rootnet.live/archive/ws · captured 2026-05-02