SyloDataVerification pallet
Derived from live runtime metadata on TRN root (pallet index 52, captured 2026-05-02). For prose-style documentation see SyloDataVerification on the curated reference side.
- Pallet index
52- Calls
- 9
- Events
- 9
- Errors
- 6
- Storage items
- 4
- Constants
- 5
Calls (extrinsics)
SyloDataVerification.set_payment_asset
See [
Pallet::set_payment_asset].
api.tx.syloDataVerification.set_payment_asset(payment_asset: u32)| Argument | Type | Doc |
|---|---|---|
payment_asset | u32 | AssetId |
Call index: 0
SyloDataVerification.set_sylo_resolver_method
See [
Pallet::set_sylo_resolver_method].
api.tx.syloDataVerification.set_sylo_resolver_method(resolver_method: Bytes)| Argument | Type | Doc |
|---|---|---|
resolver_method | Bytes | BoundedVec<u8, T::StringLimit> |
Call index: 1
SyloDataVerification.register_resolver
See [
Pallet::register_resolver].
api.tx.syloDataVerification.register_resolver(identifier: Bytes, service_endpoints: Vec<Bytes>)| Argument | Type | Doc |
|---|---|---|
identifier | Bytes | BoundedVec<u8, T::StringLimit> |
service_endpoints | Vec<Bytes> | BoundedVec<ServiceEndpoint<T::StringLimit>, T::MaxServiceEndpoints> |
Call index: 2
SyloDataVerification.update_resolver
See [
Pallet::update_resolver].
api.tx.syloDataVerification.update_resolver(identifier: Bytes, service_endpoints: Vec<Bytes>)| Argument | Type | Doc |
|---|---|---|
identifier | Bytes | BoundedVec<u8, T::StringLimit> |
service_endpoints | Vec<Bytes> | BoundedVec<ServiceEndpoint<T::StringLimit>, T::MaxServiceEndpoints> |
Call index: 3
SyloDataVerification.deregister_resolver
See [
Pallet::deregister_resolver].
api.tx.syloDataVerification.deregister_resolver(identifier: Bytes)| Argument | Type | Doc |
|---|---|---|
identifier | Bytes | BoundedVec<u8, T::StringLimit> |
Call index: 4
SyloDataVerification.create_validation_record
See [
Pallet::create_validation_record].
api.tx.syloDataVerification.create_validation_record(data_id: Bytes, resolvers: Vec<SeedPalletCommonSyloResolverId>, data_type: Bytes, tags: Vec<Bytes>, checksum: H256)| Argument | Type | Doc |
|---|---|---|
data_id | Bytes | BoundedVec<u8, T::StringLimit> |
resolvers | Vec<SeedPalletCommonSyloResolverId> | BoundedVec<ResolverId<T::StringLimit>, T::MaxResolvers> |
data_type | Bytes | BoundedVec<u8, T::StringLimit> |
tags | Vec<Bytes> | BoundedVec<BoundedVec<u8, T::StringLimit>, T::MaxTags> |
checksum | H256 | H256 |
Call index: 5
SyloDataVerification.add_validation_record_entry
See [
Pallet::add_validation_record_entry].
api.tx.syloDataVerification.add_validation_record_entry(data_author: [u8;20], data_id: Bytes, checksum: H256)| Argument | Type | Doc |
|---|---|---|
data_author | [u8;20] | T::AccountId |
data_id | Bytes | BoundedVec<u8, T::StringLimit> |
checksum | H256 | H256 |
Call index: 6
SyloDataVerification.update_validation_record
See [
Pallet::update_validation_record].
api.tx.syloDataVerification.update_validation_record(data_id: Bytes, resolvers: Option<Vec<SeedPalletCommonSyloResolverId>>, data_type: Option<Bytes>, tags: Option<Vec<Bytes>>)| Argument | Type | Doc |
|---|---|---|
data_id | Bytes | BoundedVec<u8, T::StringLimit> |
resolvers | Option<Vec<SeedPalletCommonSyloResolverId>> | Option<BoundedVec<ResolverId<T::StringLimit>, T::MaxResolvers>> |
data_type | Option<Bytes> | Option<BoundedVec<u8, T::StringLimit>> |
tags | Option<Vec<Bytes>> | Option<BoundedVec<BoundedVec<u8, T::StringLimit>, T::MaxTags>> |
Call index: 7
SyloDataVerification.delete_validation_record
See [
Pallet::delete_validation_record].
api.tx.syloDataVerification.delete_validation_record(data_id: Bytes)| Argument | Type | Doc |
|---|---|---|
data_id | Bytes | BoundedVec<u8, T::StringLimit> |
Call index: 8
Events
SyloDataVerification.PaymentAssetSet
The asset used to for extrinsics has been set
| Field | Type | Doc |
|---|---|---|
asset_id | u32 |
SyloDataVerification.SyloResolverMethodSet
The string reserved for the method used by sylo resolvers has been set
| Field | Type | Doc |
|---|---|---|
method | Bytes |
SyloDataVerification.ResolverRegistered
A new resolver has been registered and set in storage
| Field | Type | Doc |
|---|---|---|
id | Bytes | |
controller | [u8;20] | |
service_endpoints | Vec<Bytes> |
SyloDataVerification.ResolverUpdated
An existing resolver has had it's service endpoints updated
| Field | Type | Doc |
|---|---|---|
id | Bytes | |
controller | [u8;20] | |
service_endpoints | Vec<Bytes> |
SyloDataVerification.ResolverDeregistered
An existing resolver has been deregistered and removed from storage
| Field | Type | Doc |
|---|---|---|
id | Bytes |
SyloDataVerification.ValidationRecordCreated
A new validation record has been created and set in storage
| Field | Type | Doc |
|---|---|---|
author | [u8;20] | |
id | Bytes |
SyloDataVerification.ValidationEntryAdded
An entry of an existing validation record has been added
| Field | Type | Doc |
|---|---|---|
author | [u8;20] | |
id | Bytes | |
checksum | H256 |
SyloDataVerification.ValidationRecordUpdated
An existing validation record has had its fields updated
| Field | Type | Doc |
|---|---|---|
author | [u8;20] | |
id | Bytes | |
resolvers | Option<Vec<Bytes>> | |
data_type | Option<Bytes> | |
tags | Option<Vec<Bytes>> |
SyloDataVerification.ValidationRecordDeleted
An existing validation record has been deleted and removed from storage
| Field | Type | Doc |
|---|---|---|
author | [u8;20] | |
id | Bytes |
Errors
SyloDataVerification.ResolverAlreadyRegistered
The Resolver identifier is already in use
SyloDataVerification.ResolverNotRegistered
The Resolver has not been registered
SyloDataVerification.NotController
Account is not controller of resolver
SyloDataVerification.RecordAlreadyCreated
A validation record with the given data id has already been created
SyloDataVerification.NoValidationRecord
The validation record to be updated has not been created
SyloDataVerification.MissingModifyPermission
The account does not have the permission to update the validation record
Storage
SyloDataVerification.SyloAssetId
await api.query.syloDataVerification.syloAssetId()Returns: u32
Modifier: Optional
SyloDataVerification.SyloResolverMethod
await api.query.syloDataVerification.syloResolverMethod()Returns: Bytes
Modifier: Default
SyloDataVerification.Resolvers
await api.query.syloDataVerification.resolvers(key1)- Key:
Bytes(hasher: Twox64Concat) - Returns:
{"controller":"SeedPrimitivesSignatureAccountId20","serviceEndpoints":"Vec<Bytes>"}
Modifier: Optional
SyloDataVerification.ValidationRecords
await api.query.syloDataVerification.validationRecords(key1, key2)- Key:
(SeedPrimitivesSignatureAccountId20,Bytes)(hashers: Twox64Concat, Twox64Concat) - Returns:
{"_alias":{"entries_":"entries"},"author":"SeedPrimitivesSignatureAccountId20","resolvers":"Vec<SeedPalletCommonSyloResolverId>","dataType":"Bytes","tags":"Vec<Bytes>","entries_":"Vec<SeedPalletCommonSyloValidationEntry>"}
Modifier: Optional
Constants
SyloDataVerification.MaxResolvers
The maximim number of resolvers in a validation record.
Type: u32
SCALE-encoded value: 0x0a000000
SyloDataVerification.MaxTags
The maximum number of tags in a validation record.
Type: u32
SCALE-encoded value: 0x0a000000
SyloDataVerification.MaxEntries
The maximum number of validation entries in a record.
Type: u32
SCALE-encoded value: 0x64000000
SyloDataVerification.MaxServiceEndpoints
The maximum number of service endpoints for a registered resolver.
Type: u32
SCALE-encoded value: 0x0a000000
SyloDataVerification.StringLimit
The max length of strings used within the Sylo Pallet. This limits the maximum size for resolver identifiers, data identifier, service endpoint strings, and tag strings.
Type: u32
SCALE-encoded value: 0xf4010000
wss://root.rootnet.live/archive/ws · captured 2026-05-02